Gentoo 2479 Published by

A new security update has been released for Gentoo Linux - Gallery: Cross-site scripting vulnerability. Here the announcement:



Gentoo Linux Security Advisory GLSA 200601-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Low
Title: Gallery: Cross-site scripting vulnerability
Date: January 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
-------------------------------------------------------------------
1 www-apps/gallery < 1.5.2 >= 1.5.2

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
==========

[ 1 ] Gallery Announcement
http://gallery.menalto.com/page/gallery_1_5_2_release

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
http://bugs.gentoo.org.

License
=======

Copyright 2006 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.

http://creativecommons.org/licenses/by-sa/2.0