Gallery EXIF Data XSS

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


Synopsis :

The remote web server contains a PHP application that is susceptible to
a cross-site scripting attack.

Description :

According to its banner, the version of Gallery hosted on the remote
web server 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.

See also :

http://archives.neohapsis.com/archives/bugtraq/2005-08/0374.html
http://sourceforge.net/project/shownotes.php?release_id=352576
http://www.nessus.org/u?f8713d35

Solution :

Upgrade to Gallery 1.5-pl1 / 1.5.1-RC3 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.7
(CVSS2#E:H/RL:OF/RC:C)
Public Exploit Available : true

Family: CGI abuses : XSS

Nessus Plugin ID: 19512 (gallery_exif_xss.nasl)

Bugtraq ID: 14668

CVE ID: CVE-2005-2734