Vulnerabilities > CVE-2017-9101 - Unrestricted Upload of File with Dangerous Type vulnerability in Playsms 1.4
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
PARTIAL Integrity impact
PARTIAL Availability impact
PARTIAL Summary
import.php (aka the Phonebook import feature) in PlaySMS 1.4 allows remote code execution via vectors involving the User-Agent HTTP header and PHP code in the name of a file.
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 PlaySMs 1.4 - 'import.php' Remote Code Execution. Webapps exploit for PHP platform file exploits/php/webapps/42044.txt id EDB-ID:42044 last seen 2017-05-21 modified 2017-05-21 platform php port published 2017-05-21 reporter Exploit-DB source https://www.exploit-db.com/download/42044/ title PlaySMs 1.4 - 'import.php' Remote Code Execution type webapps description PlaySMS - 'import.php' Authenticated CSV File Upload Code Execution (Metasploit). CVE-2017-9101. Remote exploit for PHP platform. Tags: Metasploit Framework ... file exploits/php/remote/44598.rb id EDB-ID:44598 last seen 2018-05-24 modified 2018-05-08 platform php port published 2018-05-08 reporter Exploit-DB source https://www.exploit-db.com/download/44598/ title PlaySMS - 'import.php' Authenticated CSV File Upload Code Execution (Metasploit) type remote
Metasploit
description | This module exploits an authenticated file upload remote code excution vulnerability in PlaySMS Version 1.4. This issue is caused by improper file contents handling in import.php (aka the Phonebook import feature). Authenticated Users can upload a CSV file containing a malicious payload via vectors involving the User-Agent HTTP header and PHP code in the User-Agent. This module was tested against PlaySMS 1.4 on VulnHub's Dina 1.0 machine and Windows 7. |
id | MSF:EXPLOIT/MULTI/HTTP/PLAYSMS_UPLOADCSV_EXEC |
last seen | 2020-06-12 |
modified | 2018-05-07 |
published | 2018-05-07 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/playsms_uploadcsv_exec.rb |
title | PlaySMS import.php Authenticated CSV File Upload Code Execution |
Packetstorm
data source | https://packetstormsecurity.com/files/download/147514/playsms_uploadcsv_exec.rb.txt |
id | PACKETSTORM:147514 |
last seen | 2018-05-08 |
published | 2018-05-07 |
reporter | Touhid M.Shaikh |
source | https://packetstormsecurity.com/files/147514/PlaySMS-import.php-Code-Execution.html |
title | PlaySMS import.php Code Execution |