Gentoo Archives: gentoo-announce

From: Sune Kloppenborg Jeppesen <jaervosz@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200506-21 ] Trac: File upload vulnerability
Date: Wed, 22 Jun 2005 16:48:07
Message-Id: 200506221815.18501.jaervosz@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200506-21
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: Trac: File upload vulnerability
9 Date: June 22, 2005
10 Bugs: #96572
11 ID: 200506-21
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 Trac may allow remote attackers to upload files, possibly leading to
19 the execution of arbitrary code.
20
21 Background
22 ==========
23
24 Trac is a minimalistic web-based project management, wiki and bug
25 tracking system including a Subversion interface.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 www-apps/trac < 0.8.4 >= 0.8.4
34
35 Description
36 ===========
37
38 Stefan Esser of the Hardened-PHP project discovered that Trac fails to
39 validate the "id" parameter when uploading attachments to the wiki or
40 the bug tracking system.
41
42 Impact
43 ======
44
45 A remote attacker could exploit the vulnerability to upload arbitrary
46 files to a directory where the webserver has write access to, possibly
47 leading to the execution of arbitrary code.
48
49 Workaround
50 ==========
51
52 There is no known workaround at this time.
53
54 Resolution
55 ==========
56
57 All Trac users should upgrade to the latest available version:
58
59 # emerge --sync
60 # emerge --ask --oneshot --verbose ">=www-apps/trac-0.8.4"
61
62 References
63 ==========
64
65 [ 1 ] Hardened PHP Advisory 012005
66 http://www.hardened-php.net/advisory-012005.php
67
68 Availability
69 ============
70
71 This GLSA and any updates to it are available for viewing at
72 the Gentoo Security Website:
73
74 http://security.gentoo.org/glsa/glsa-200506-21.xml
75
76 Concerns?
77 =========
78
79 Security is a primary focus of Gentoo Linux and ensuring the
80 confidentiality and security of our users machines is of utmost
81 importance to us. Any security concerns should be addressed to
82 security@g.o or alternatively, you may file a bug at
83 http://bugs.gentoo.org.
84
85 License
86 =======
87
88 Copyright 2005 Gentoo Foundation, Inc; referenced text
89 belongs to its owner(s).
90
91 The contents of this document are licensed under the
92 Creative Commons - Attribution / Share Alike license.
93
94 http://creativecommons.org/licenses/by-sa/2.0