Gallery: Cross-site scripting vulnerability
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200601-13 / gallery |
| Release Date |
January 26, 2006 |
| Latest Revision |
January 26, 2006: 01 |
| Impact |
low |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| www-apps/gallery |
<
1.5.2 |
>=
1.5.2 |
All supported architectures
|
Related bugreports:
#119590
Synopsis
Gallery is possibly vulnerable to a cross-site scripting attack that could
allow arbitrary JavaScript code execution.
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
Peter Schumacher discovered that Gallery fails to sanitize the
fullname set by users, possibly leading to a cross-site scripting
vulnerability.
Impact
By setting a specially crafted fullname, an attacker can inject
and execute script code in the victim's browser window and potentially
compromise the user's 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.5.2"
|
Note: Users with the vhosts USE flag set should manually use
webapp-config to finalize the update.
4.
References
|