1. Gentoo Linux Security Advisory
| Advisory Reference | GLSA 200501-45 / gallery |
| Release Date | January 30, 2005 |
| Latest Revision | May 22, 2006: 04 |
| Impact | low |
| Exploitable | remote |
| Package | Vulnerable versions | Unaffected versions | Architecture(s) |
| www-apps/gallery | < 1.4.4_p6 | >= 1.4.4_p6 | All supported architectures |
Related bugreports: #78522
Gallery is vulnerable to cross-site scripting attacks.
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.
Rafel Ivgi has discovered a cross-site scripting vulnerability where the 'username' parameter is not properly sanitized in 'login.php'.
By sending a carefully crafted URL, an attacker can inject and execute script code in the victim's browser window, and potentially compromise the user's gallery.
There is no known workaround at this time.
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_p6" |
Note: Users with the vhosts USE flag set should manually use webapp-config to finalize the update.