[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HTB22953: XSS in Max's PHP Photo Album



Vulnerability ID: HTB22953
Reference: http://www.htbridge.ch/advisory/xss_in_max_s_php_photo_album.html
Product: Max's PHP Photo Album
Vendor: http://www.phpf1.com ( http://www.phpf1.com ) 
Vulnerable Version: 2008-04-01
Vendor Notification: 12 April 2011 
Vulnerability Type: XSS (Cross Site Scripting)
Risk level: Medium 
Credit: High-Tech Bridge SA Security Research Lab ( 
http://www.htbridge.ch/advisory/ ) 

Vulnerability Details:
User can execute arbitrary JavaScript code within the vulnerable application.
The vulnerability exists due to failure in the "showimage.php" script to 
properly sanitize user-supplied input in "id" variable. Successful exploitation 
of this vulnerability could result in a compromise of the application, theft of 
cookie-based authentication credentials, disclosure or modification of 
sensitive data.

The following PoC is available:  


http://[host]/showimage.php?id=";><script>alert("XSS");</script>