module

PlaySMS import.php Authenticated CSV File Upload Code Execution

Disclosed
May 21, 2017
Created
Jun 14, 2018

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.

Author

Touhid M.Shaikh [email protected]

Platform

PHP

Architectures

php

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/multi/http/playsms_uploadcsv_exec
msf exploit(playsms_uploadcsv_exec) > show targets
...targets...
msf exploit(playsms_uploadcsv_exec) > set TARGET < target-id >
msf exploit(playsms_uploadcsv_exec) > show options
...show and set options...
msf exploit(playsms_uploadcsv_exec) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.