Gentoo Logo

Trac: File upload vulnerability

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200506-21 / trac
Release Date June 22, 2005
Latest Revision June 22, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-apps/trac < 0.8.4 >= 0.8.4 All supported architectures

Related bugreports: #96572

Synopsis

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

2.  Impact Information

Background

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

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Trac users should upgrade to the latest available version:

Code Listing 3.1: Resolution

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

4.  References



Print

Page updated June 22, 2005

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.