Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200701-28] thttpd: Unauthenticated remote file access


Vulnerability Assessment Details

[GLSA-200701-28] thttpd: Unauthenticated remote file access

Vulnerability Assessment Summary
thttpd: Unauthenticated remote file access

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200701-28
(thttpd: Unauthenticated remote file access)


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.

Impact

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.

Workaround

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.


Solution:
All thttpd users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=www-servers/thttpd-2.25b-r5"


Network Security Threat Level: Low


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2007 Michel Arboi

Cables, Connectors

Lenovo ThinkPad X1 Notebook i7-7500U 8GB RAM 256GB SSD Win10 14" 1920x1080
$1926.73
Lenovo ThinkPad X1 Notebook i7-7500U 8GB RAM 256GB SSD Win10 14IBM SYSTEM X3650 M4 2.5 SERVER TWO E5-2660V2 2.20GHZ 128GB NO HDD M5110E
$2729.0
IBM SYSTEM X3650 M4 2.5 SERVER TWO E5-2660V2 2.20GHZ 128GB NO HDD M5110E pictureLENOVO THINKSERVER TD340 NEW SERVER E5-2430V2 2.5GHZ 32GB 5 X 500GB SATA
$1999.0
LENOVO THINKSERVER TD340 NEW SERVER E5-2430V2 2.5GHZ 32GB 5 X 500GB SATA pictureLenovo IdeaPad 80QH | 17.3" Laptop | Intel i5 2.3Ghz | 8GB | 1TB Hard Drive #632
$199.99
Lenovo IdeaPad 80QH | 17.3


Discussions

No Discussions have been posted on this vulnerability.