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

HTB22945: Multiple XSS in ZENphoto



Vulnerability ID: HTB22945
Reference: http://www.htbridge.ch/advisory/multiple_xss_in_zenphoto.html
Product: ZENphoto
Vendor: ZENphoto ( http://www.zenphoto.org/ ) 
Vulnerable Version: 1.4.0.3
Vendor Notification: 07 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 "/themes/zenpage/slideshow.php" 
script to properly sanitize user-supplied input in "_zp_themeroot" variable 
then register_globals is on.
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]/themes/zenpage/slideshow.php?_zp_themeroot=%22%3E%3Cscript%3Ealert%28%22XSS%22%29;%3C/script%3E


The vulnerability exists due to failure in the 
"/themes/stopdesign/comment_form.php" script to properly sanitize user-supplied 
input in "_zp_themeroot" variable then register_globals is on.
The following PoC is available:


http://[host]/themes/stopdesign/comment_form.php?_zp_themeroot=%22%3E%3Cscript%3Ealert%28%22XSS%22%29;%3C/script%3E