Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!


TUCoPS :: Web :: Apps :: b06-2807.htm

E-Dating System from scriptsez.net - XSS



E-Dating System from scriptsez.net - XSS
E-Dating System from scriptsez.net - XSS



E-Dating System=0D
=0D
Homepage:=0D
http://www.scriptsez.net/=0D 
=0D
Effected files:=0D
Input boxes.=0D
cindex.php=0D
=0D
Description:=0D
=0D
A Professional dating system that uses flatfiles instead of MySQL.=0D
=0D
=0D
XSS Vulnerabilities PoC:=0D
=0D
The input boxes of sending a message, and editing your profile do not properally filter user input before generating it. =0D
=0D
The script add's backslashes to ' and " but we can easily get around this by changing ' into '. forPoC input the =0D
=0D
following in anyof the above boxes mentioned:=0D
=0D
=0D
=0D
=0D
Full path disclosure error by url injection of trying to read a nonexistant message:=0D
=0D
http://www.example.comcindex.php?action=dologin&nav=messagebox&do=read&id=999720979&st=1=0D 
=0D
Warning: rename(files/rofl/999720979&~@&1.txt,files/rofl/999720979&~@&0.txt): No such file or directory in /home/www/=0D 
=0D
domain/demo/dating/gmain.php on line 733=0D
=0D
We now know the dir /files/username/ is where we can view users profiles, data and messages, this dir is also said tobe chmoded to 777 in the install instructs. Since none of the data was sanatized by input box before being stored in this flatfile, this data will also create XSS examples, plus also lets us view any users private messages in plain text format as well.=0D
=0D
Another XSS Vuln via id:=0D
=0D
http://www.example.com/cindex.php?action=dologin&nav=messagebox&do=read&id= SRC=javascript:alert('XSS')>&st=1 


TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH