Vulnerabilities > CVE-2017-1000119 - Unrestricted Upload of File with Dangerous Type vulnerability in Octobercms October 1.0.412
Attack vector
NETWORK Attack complexity
LOW Privileges required
HIGH Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
October CMS build 412 is vulnerable to PHP code execution in the file upload functionality resulting in site compromise and possibly other applications on the server.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Accessing Functionality Not Properly Constrained by ACLs In applications, particularly web applications, access to functionality is mitigated by the authorization framework, whose job it is to map ACLs to elements of the application's functionality; particularly URL's for web apps. In the case that the administrator failed to specify an ACL for a particular element, an attacker may be able to access it with impunity. An attacker with the ability to access functionality not properly constrained by ACLs can obtain sensitive information and possibly compromise the entire application. Such an attacker can access resources that must be available only to users at a higher privilege level, can access management sections of the application or can run queries for data that he is otherwise not supposed to.
- Privilege Abuse An adversary is able to exploit features of the target that should be reserved for privileged users or administrators but are exposed to use by lower or non-privileged accounts. Access to sensitive information and functionality must be controlled to ensure that only authorized users are able to access these resources. If access control mechanisms are absent or misconfigured, a user may be able to access resources that are intended only for higher level users. An adversary may be able to exploit this to utilize a less trusted account to gain information and perform activities reserved for more trusted accounts. This attack differs from privilege escalation and other privilege stealing attacks in that the adversary never actually escalates their privileges but instead is able to use a lesser degree of privilege to access resources that should be (but are not) reserved for higher privilege accounts. Likewise, the adversary does not exploit trust or subvert systems - all control functionality is working as configured but the configuration does not adequately protect sensitive resources at an appropriate level.
Exploit-Db
id | EDB-ID:47376 |
last seen | 2019-09-10 |
modified | 2019-09-10 |
published | 2019-09-10 |
reporter | Exploit-DB |
source | https://www.exploit-db.com/download/47376 |
title | October CMS - Upload Protection Bypass Code Execution (Metasploit) |
Metasploit
description | This module exploits an Authenticated user with permission to upload and manage media contents can upload various files on the server. Application prevents the user from uploading PHP code by checking the file extension. It uses black-list based approach, as seen in octobercms/vendor/october/rain/src/Filesystem/ Definitions.php:blockedExtensions(). This module was tested on October CMS version v1.0.412 on Ubuntu. |
id | MSF:EXPLOIT/MULTI/HTTP/OCTOBER_UPLOAD_BYPASS_EXEC |
last seen | 2020-06-02 |
modified | 2019-09-06 |
published | 2019-09-03 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/october_upload_bypass_exec.rb |
title | October CMS Upload Protection Bypass Code Execution |
Packetstorm
data source | https://packetstormsecurity.com/files/download/154390/october_upload_bypass_exec.rb.txt |
id | PACKETSTORM:154390 |
last seen | 2019-09-07 |
published | 2019-09-06 |
reporter | Anti Rais |
source | https://packetstormsecurity.com/files/154390/October-CMS-Upload-Protection-Bypass-Code-Execution.html |
title | October CMS Upload Protection Bypass Code Execution |