blob: f68fd6a741e22efd1e681fa716e30a31c2818c68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200701-28">
<title>thttpd: Unauthenticated remote file access</title>
<synopsis>
The default configuration of the Gentoo thttpd package potentially allows
unauthenticated access to system files when used with newer versions of
baselayout.
</synopsis>
<product type="ebuild">thttpd</product>
<announced>2007-01-31</announced>
<revised count="02">2007-03-11</revised>
<bug>142047</bug>
<access>remote</access>
<affected>
<package name="www-servers/thttpd" auto="yes" arch="*">
<unaffected range="ge">2.25b-r6</unaffected>
<vulnerable range="lt">2.25b-r6</vulnerable>
</package>
</affected>
<background>
<p>
thttpd is a webserver designed to be simple, small, and fast.
</p>
</background>
<description>
<p>
thttpd is vulnerable to an underlying change made to the
start-stop-daemon command in the current stable Gentoo baselayout
package (version 1.12.6). In the new version, the start-stop-daemon
command performs a "chdir /" command just before starting the thttpd
process. In the Gentoo default configuration, this causes thttpd to
start with the document root set to "/", the sytem root directory.
</p>
</description>
<impact type="low">
<p>
When thttpd starts with the document root set to the system root
directory, all files on the system that are readable by the thttpd
process can be remotely accessed by unauthenticated users.
</p>
</impact>
<workaround>
<p>
Alter the THTTPD_OPTS variable in /etc/conf.d/thttpd to include the
"-d" option to specify the document root. Alternatively, modify the
THTTPD_OPTS variable in /etc/conf.d/thttpd to specify a thttpd.conf
file using the "-C" option, and then configure the "dir=" directive in
that thttpd.conf file.
</p>
</workaround>
<resolution>
<p>
All thttpd users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose ">=www-servers/thttpd-2.25b-r5"</code>
</resolution>
<references>
<uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0664">CVE-2007-0664</uri>
</references>
<metadata tag="requester" timestamp="2007-01-26T12:41:44Z">
shellsage
</metadata>
<metadata tag="submitter" timestamp="2007-01-27T17:49:26Z">
aetius
</metadata>
<metadata tag="bugReady" timestamp="2007-01-31T21:45:13Z">
falco
</metadata>
</glsa>
|