Cross-site scripting in Zenphoto - CVE-2012-0995
Published: February 21, 2012 / Updated: August 11, 2020
Zenphoto
Detailed vulnerability description
Vulnerability allows a remote attacker to perform Cross-site scripting attacks.
An input validation error exists in ZENphoto 1.4.2 when processing the (1) msg parameter in an external action to zp-core/admin.php, (2) PATH_INTO to an unspecified URL, as demonstrated using /1/, (3) PATH_INFO to zp-core/admin.php, or (4) album parameter to zp-core/admin-edit.php. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
How to mitigate CVE-2012-0995
Sources
- http://archives.neohapsis.com/archives/bugtraq/2012-02/0037.html
- http://secunia.com/advisories/47875
- http://www.securityfocus.com/bid/51916
- http://www.zenphoto.org/news/zenphoto-1.4.2.1
- http://www.zenphoto.org/trac/changeset/8994
- http://www.zenphoto.org/trac/changeset/8995
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73083
- https://www.htbridge.ch/advisory/HTB23070