Description
The configuration file for the FastCGI PHP support for lighttpd before 1.4.28 on Debian GNU/Linux creates a socket file with a predictable name in /tmp, which allows local users to hijack the PHP control socket and perform unauthorized actions such as forcing the use of a different version of PHP via a symlink attack or a race condition.
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.31-4 | — |
| Debian 13 | lighttpd | 1.4.31-4 | — |
| Debian 12 | lighttpd | 1.4.31-4 | — |
| Debian 6.0 | lighttpd | 1.4.28-2+squeeze1.3 | DSA-2649-1 |
Advisories 1
- DSA-2649-1 lighttpd - fixed socket name in world-writable directory Debian Security (DSA / DLA) · Mar 9, 2026
References
- 91462 vdb-entry
- lighttpd-cve20131427-symlink(82897) vdb-entry
- 58528 vdb-entry
- DSA-2649 vendor-advisory