Vulnerabilities > CVE-2019-9692 - Unrestricted Upload of File with Dangerous Type vulnerability in Cmsmadesimple CMS Made Simple
Attack vector
NETWORK Attack complexity
LOW Privileges required
LOW Confidentiality impact
NONE Integrity impact
HIGH Availability impact
NONE Summary
class.showtime2_image.php in CMS Made Simple (CMSMS) before 2.2.10 does not ensure that a watermark file has a standard image file extension (GIF, JPG, JPEG, or PNG).
Vulnerable Configurations
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
file exploits/php/webapps/46546.py id EDB-ID:46546 last seen 2019-03-15 modified 2019-03-15 platform php port 80 published 2019-03-15 reporter Exploit-DB source https://www.exploit-db.com/download/46546 title CMS Made Simple Showtime2 Module 3.6.2 - Authenticated Arbitrary File Upload type webapps file exploits/php/remote/46627.rb id EDB-ID:46627 last seen 2019-03-28 modified 2019-03-28 platform php port 80 published 2019-03-28 reporter Exploit-DB source https://www.exploit-db.com/download/46627 title CMS Made Simple (CMSMS) Showtime2 - File Upload RCE (Metasploit) type remote
Metasploit
description | This module exploits a File Upload vulnerability that lead in a RCE in Showtime2 module (<= 3.6.2) in CMS Made Simple (CMSMS). An authenticated user with "Use Showtime2" privilege could exploit the vulnerability. The vulnerability exists in the Showtime2 module, where the class "class.showtime2_image.php" does not ensure that a watermark file has a standard image file extension (GIF, JPG, JPEG, or PNG). Tested on Showtime2 3.6.2, 3.6.1, 3.6.0, 3.5.4, 3.5.3, 3.5.2, 3.5.1, 3.5.0, 3.4.5, 3.4.3, 3.4.2 on CMS Made Simple (CMSMS) 2.2.9.1 |
id | MSF:EXPLOIT/MULTI/HTTP/CMSMS_SHOWTIME2_RCE |
last seen | 2020-06-12 |
modified | 2019-03-27 |
published | 2019-03-19 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/cmsms_showtime2_rce.rb |
title | CMS Made Simple (CMSMS) Showtime2 File Upload RCE |
Packetstorm
data source https://packetstormsecurity.com/files/download/152269/cmsms_showtime2_rce.rb.txt id PACKETSTORM:152269 last seen 2019-03-28 published 2019-03-27 reporter Daniele Scanu source https://packetstormsecurity.com/files/152269/CMS-Made-Simple-CMSMS-Showtime2-File-Upload-Remote-Command-Execution.html title CMS Made Simple (CMSMS) Showtime2 File Upload Remote Command Execution data source https://packetstormsecurity.com/files/download/152105/cmsmsshowtime2-upload.txt id PACKETSTORM:152105 last seen 2019-03-16 published 2019-03-15 reporter Daniele Scanu source https://packetstormsecurity.com/files/152105/CMS-Made-Simple-Showtime2-3.6.2-Arbitrary-File-Upload.html title CMS Made Simple Showtime2 3.6.2 Arbitrary File Upload
References
- https://forum.cmsmadesimple.org/viewtopic.php?f=1&t=80285
- http://viewsvn.cmsmadesimple.org/diff.php?repname=showtime2&path=%2Ftrunk%2Flib%2Fclass.showtime2_image.php&rev=47
- https://www.exploit-db.com/exploits/46546/
- http://packetstormsecurity.com/files/152269/CMS-Made-Simple-CMSMS-Showtime2-File-Upload-Remote-Command-Execution.html
- http://www.rapid7.com/db/modules/exploit/multi/http/cmsms_showtime2_rce
- https://www.exploit-db.com/exploits/46627/