GLSA 200601-13: Gallery: Cross-site scripting vulnerability

Severity:low
Title:Gallery: Cross-site scripting vulnerability
Date:01/26/2006
Bugs: #119590
ID:200601-13

Synopsis

Gallery is possibly vulnerable to a cross-site scripting attack that could allow arbitrary JavaScript code execution.

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.

Affected packages

Package Vulnerable Unaffected Architecture(s)
www-apps/gallery < 1.5.2 >= 1.5.2 All supported architectures

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.

Workaround

There is no known workaround at this time.

Resolution

All Gallery users should upgrade to the latest version:

    # 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.

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200601-13.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!