phpGraphy EXIF Data XSS

Low Nessus Plugin ID 19514

Synopsis

The remote web server contains a PHP script that is affected by a cross-site scripting issue.

Description

The remote host is running phpGraphy, a web-based photo album.

According to its banner, the version of phpGraphy installed on the remote host is prone to script insertion attacks because it does not sanitize malicious EXIF data stored in image files. Using a specially crafted image file, an attacker can exploit this flaw to cause arbitrary HTML and script code to be executed in a user's browser within the context of the affected application.

Solution

While we are unaware of any public statement from the project, upgrading to phpGraphy 0.9.10 or later reportedly addresses the issue.

See Also

http://www.nessus.org/u?eb13daf6

http://seclists.org/bugtraq/2005/Aug/372

Plugin Details

Severity: Low

ID: 19514

File Name: phpgraphy_exif_xss.nasl

Version: $Revision: 1.20 $

Type: remote

Published: 2005/08/27

Modified: 2016/11/02

Dependencies: 10107

Risk Information

Risk Factor: Low

CVSSv2

Base Score: 3.5

Temporal Score: 3

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

Temporal Vector: CVSS2#E:H/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:phpgraphy:phpgraphy

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: No exploit is required

Vulnerability Publication Date: 2005/08/25

Reference Information

CVE: CVE-2005-2735

BID: 14669

OSVDB: 19014

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