Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
E-Dating System from scriptsez.net - XSS
Date: Wed Jun 07 2006 - 18:18:35 CDT
A Professional dating system that uses flatfiles instead of MySQL.
XSS Vulnerabilities PoC:
The input boxes of sending a message, and editing your profile do not properally filter user input before generating it.
The script add's backslashes to ' and " but we can easily get around this by changing ' into '. forPoC input the
following in anyof the above boxes mentioned:
Full path disclosure error by url injection of trying to read a nonexistant message:
Warning: rename(files/rofl/999720979&~&1.txt,files/rofl/999720979&~&0.txt): No such file or directory in /home/www/
domain/demo/dating/gmain.php on line 733
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.
Another XSS Vuln via id: