Vulnerabilities > CVE-2017-18048 - Unrestricted Upload of File with Dangerous Type vulnerability in Monstra 3.0.4
Attack vector
NETWORK Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
Monstra CMS 3.0.4 allows users to upload arbitrary files, which leads to remote command execution on the server, for example because .php (lowercase) is blocked but .PHP (uppercase) is not.
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
description Monstra CMS - Remote Code Execution. CVE-2017-18048. Webapps exploit for PHP platform id EDB-ID:44045 last seen 2018-02-15 modified 2017-12-06 published 2017-12-06 reporter Exploit-DB source https://www.exploit-db.com/download/44045/ title Monstra CMS - Remote Code Execution id EDB-ID:43348
Metasploit
description | MonstraCMS 3.0.4 allows users to upload Arbitrary files which leads to remote command execution on the remote server. An attacker may choose to upload a file containing PHP code and run this code by accessing the resulting PHP file. This module was tested against MonstraCMS 3.0.4. |
id | MSF:EXPLOIT/MULTI/HTTP/MONSTRA_FILEUPLOAD_EXEC |
last seen | 2020-06-10 |
modified | 2018-07-10 |
published | 2018-06-28 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/monstra_fileupload_exec.rb |
title | Monstra CMS Authenticated Arbitrary File Upload |
Packetstorm
data source | https://packetstormsecurity.com/files/download/148487/monstra_fileupload_exec.rb.txt |
id | PACKETSTORM:148487 |
last seen | 2018-07-11 |
published | 2018-07-11 |
reporter | Touhid M.Shaikh |
source | https://packetstormsecurity.com/files/148487/Monstra-CMS-Authenticated-Arbitrary-File-Upload.html |
title | Monstra CMS Authenticated Arbitrary File Upload |