GLSA-200506-21 : Trac: File upload vulnerability

medium Nessus Plugin ID 18548

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200506-21 (Trac: File upload vulnerability)

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.

Solution

All Trac users should upgrade to the latest available version:
# emerge --sync # emerge --ask --oneshot --verbose '>=www-apps/trac-0.8.4'

See Also

http://www.hardened-php.net/advisory-012005.php

https://security.gentoo.org/glsa/200506-21

Plugin Details

Severity: Medium

ID: 18548

File Name: gentoo_GLSA-200506-21.nasl

Version: 1.16

Type: local

Published: 6/23/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:trac, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 6/22/2005

Reference Information

GLSA: 200506-21