Zenphoto 404 Error Page XSS

medium Nessus Plugin ID 58455

Synopsis

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

Description

The remote host contains a Zenphoto installation 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.

Solution

Upgrade to Zenphoto 1.4.2.1 or later.

See Also

https://www.htbridge.com/advisory/HTB23070

https://www.zenphoto.org/news/zenphoto-1.4.2.1

Plugin Details

Severity: Medium

ID: 58455

File Name: zenphoto_album_append_xss.nasl

Version: 1.13

Type: remote

Published: 3/23/2012

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Vulnerability Information

CPE: cpe:/a:zenphoto:zenphoto

Required KB Items: www/zenphoto

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Patch Publication Date: 2/8/2012

Vulnerability Publication Date: 1/19/2012

Exploitable With

Elliot (Zenphoto 1.4.2 RCE)

Reference Information

CVE: CVE-2012-0995

BID: 51916

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990