Gallery: Cross-site scripting vulnerability

Security Team  Contact Address

Updated November 06, 2004

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200411-10 / gallery
Release Date November 06, 2004
Latest Revision May 22, 2006: 02
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-apps/gallery < 1.4.4_p4 >= 1.4.4_p4 All supported architectures

Related bugreports: #69904

Synopsis

Gallery is vulnerable to cross-site scripting attacks.

2.  Impact Information

Background

Gallery is a web application written in PHP which is used to organize and publish photo albums. It allows multiple users to build and maintain their own albums. It also supports the mirroring of images on other servers.

Description

Jim Paris has discovered a cross-site scripting vulnerability in Gallery.

Impact

By sending a carefully crafted URL, an attacker can inject and execute script code in the victim's browser window, and potentially compromise the users gallery.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Gallery users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apps/gallery-1.4.4_p4"

4.  References