Skip Navigation

  • Home
  • Contact us
  • FAQ
  • Glossary
  • Public key
  • Sitemap
  • Cymraeg
  • What's new
CPNI - Centre for the Protection of National Infastructure

Advanced search

  • About CPNI
  • The threats
  • Security planning
  • Methods of attack
  • Protecting your assets
  • Products and services
    • CSIRTUK advisories
      • Advisories archive
    • General protective security publications
    • InfoSec briefings
    • InfoSec technical notes
    • InfoSec vulnerability disclosures
    • Good practice guidelines
    • Viewpoints
    • Information exchanges
    • Risk Management Delivery Group
  • Research
Home > Products and services > CSIRTUK advisories > Advisories archive > January 2006 > Two Gentoo Linux Security Advisories: 1. GLSA 200601-12 - Trac: Cross-site scripting vulnerability 2. GLSA 200601-13 - Gallery: Cross-site scripting vulnerability

January 2006

Two Gentoo Linux Security Advisories: 1. GLSA 200601-12 - Trac: Cross-site scripting vulnerability 2. GLSA 200601-13 - Gallery: Cross-site scripting vulnerability

ID: 00093
Ref: 92/2006
Date: 27 January 2006:14:20:09
Version: 1

Title: Two Gentoo Linux Security Advisories: 1. GLSA 200601-12 - Trac: Cross-site scripting vulnerability 2. GLSA 200601-13 - Gallery: Cross-site scripting vulnerability
Abstract: 1. Christophe Truc discovered that Trac fails to properly sanitize input passed in the URL. 2. Peter Schumacher discovered that Gallery fails to sanitize the fullname set by users, possibly leading to a cross-site scripting vulnerability.
Vendors affected: Gentoo
Operating systems affected: Gentoo
Applications affected: Gentoo

Title
=====

Two Gentoo Linux Security Advisories:

1. GLSA 200601-12 - Trac: Cross-site scripting vulnerability

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

Detail
======

1. Christophe Truc discovered that Trac fails to properly sanitize input
passed in the URL.

2. Peter Schumacher discovered that Gallery fails to sanitize the fullname
set by users, possibly leading to a cross-site scripting vulnerability.



1.

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

Severity: Low
Title: Trac: Cross-site scripting vulnerability
Date: January 26, 2006
Bugs: #118302
ID: 200601-12

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

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

Background
==========

Trac is a minimalistic web-based project management, wiki and bug
tracking system including a Subversion interface.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 www-apps/trac < 0.9.3 >= 0.9.3

Description
===========

Christophe Truc discovered that Trac fails to properly sanitize input
passed in the URL.

Impact
======

A remote attacker could exploit this to inject and execute malicious
script code or to steal cookie-based authentication credentials,
potentially compromising the victim's browser.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Trac users should upgrade to the latest available version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apps/trac-0.9.3"

Note: Users with the vhosts USE flag set should manually use
webapp-config to finalize the update.

References
==========

[ 1 ] CVE-2005-4305
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-4305
[ 2 ] Trac Changelog
http://projects.edgewall.com/trac/wiki/ChangeLog#a0.9.3

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200601-12.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



2.

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


  • Accessibility |
  • Terms and conditions |
  • Privacy statement |
  • Data protection act |
  • Freedom of information |