Zenphoto 404 Error Page XSS

This script is Copyright (C) 2012-2014 Tenable Network Security, Inc.


Synopsis :

The remote web server contains an application that is affected by a
cross-site scripting vulnerability.

Description :

The remote host contains a Zenphoto install that is affected by a
cross-site scripting vulnerability.

User-supplied input that is appended to the end of a URL is not
validated properly before being sent to the browser in a custom 404
page and can result in an attacker-controlled script running in the
user's browser.

The install is also likely affected by several other vulnerabilities,
including PHP code execution, SQL injection, and other cross-site
scripting issues. This plugin does not, though, check for them.

See also :

https://www.htbridge.ch/advisory/HTB23070
http://www.zenphoto.org/news/zenphoto-1.4.2.1

Solution :

Upgrade to Zenphoto 1.4.2.1 or later.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)
CVSS Temporal Score : 3.6
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: CGI abuses : XSS

Nessus Plugin ID: 58455 ()

Bugtraq ID: 51916

CVE ID: CVE-2012-0995