<<< Date Index >>>     <<< Thread Index >>>

[ GLSA 200506-21 ] Trac: File upload vulnerability



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200506-21
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Trac: File upload vulnerability
      Date: June 22, 2005
      Bugs: #96572
        ID: 200506-21

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

Synopsis
========

Trac may allow remote attackers to upload files, possibly leading to
the execution of arbitrary code.

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.8.4                              >= 0.8.4

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

Stefan Esser of the Hardened-PHP project discovered that Trac fails to
validate the "id" parameter when uploading attachments to the wiki or
the bug tracking system.

Impact
======

A remote attacker could exploit the vulnerability to upload arbitrary
files to a directory where the webserver has write access to, possibly
leading to the execution of arbitrary code.

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.8.4"

References
==========

  [ 1 ] Hardened PHP Advisory 012005
        http://www.hardened-php.net/advisory-012005.php

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

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

  http://security.gentoo.org/glsa/glsa-200506-21.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@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

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

Attachment: pgp00how2cH7K.pgp
Description: PGP signature