Description
thttpd.c in sthttpd before 2.26.4-r2 and thttpd 2.25b use world-readable permissions for /var/log/thttpd.log, which allows local users to obtain sensitive information by reading the file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | thttpd | 2.26-4.7 | openSUSE-SU-2024:10187-1 |
Advisories 1
- openSUSE-SU-2024:10187-1 thttpd-2.26-4.7 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://opensource.dyc.edu/gitweb/?p=sthttpd.git%3Ba=commitdiff%3Bh=d2e186dbd58d274a0dea9b59357edc8498b5388d
- [oss-security] 20130222 Re: CVE request: sthttpd world-redable logdir mailing-list
- https://bugs.gentoo.org/show_bug.cgi?id=458896
- openSUSE-SU-2014:0021 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=924857
- openSUSE-SU-2013:1862 vendor-advisory