Description
mod_userdir in lighttpd before 1.4.20, when a case-insensitive operating system or filesystem is used, performs case-sensitive comparisons on filename components in configuration options, which might allow remote attackers to bypass intended access restrictions, as demonstrated by a request for a .PHP file when there is a configuration rule for .php files.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | lighttpd | 1.4.19-5 | — |
| Debian 13 | lighttpd | 1.4.19-5 | — |
| Debian 12 | lighttpd | 1.4.19-5 | — |
| Debian 4.0 | lighttpd | 1.4.13-4etch11 | DSA-1645-1 |
Advisories 1
- DSA-1645-1 lighttpd - various problems Debian Security (DSA / DLA) · Mar 9, 2026
References
- 32069 third-party-advisory
- http://www.lighttpd.net/security/lighttpd-1.4.x_userdir_lowercase.patch
- 32972 third-party-advisory
- http://wiki.rpath.com/Advisories:rPSA-2008-0309
- 31600 vdb-entry
- 32834 third-party-advisory
- http://trac.lighttpd.net/trac/changeset/2283
- lighttpd-moduserdir-info-disclosure(45689) vdb-entry
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0309
- 32132 third-party-advisory
- http://trac.lighttpd.net/trac/changeset/2308
- [oss-security] 20080930 Re: CVE request: lighttpd issues mailing-list
- 20081030 rPSA-2008-0309-1 lighttpd mailing-list
- ADV-2008-2741 vdb-entry
- DSA-1645 vendor-advisory
- [oss-security] 20080930 Re: Re: CVE request: lighttpd issues mailing-list
- [oss-security] 20080930 Re: CVE request: lighttpd issues mailing-list
- 32480 third-party-advisory
- SUSE-SR:2008:026 vendor-advisory
- http://trac.lighttpd.net/trac/ticket/1589
- GLSA-200812-04 vendor-advisory
- http://www.lighttpd.net/security/lighttpd_sa_2008_06.txt