Description
suexec in Apache HTTP Server (httpd) 2.2.3 uses a partial comparison for verifying whether the current directory is within the document root, which might allow local users to perform unauthorized operations on incorrect directories, as demonstrated using "html_backup" and "htmleditor" under an "html" directory. NOTE: the researcher, who is reliable, claims that the vendor disputes the issue because "the attacks described rely on an insecure server configuration" in which the user "has write access to the document root."
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 | apache2 | 2.2.8-5 | — |
| Debian 13 | apache2 | 2.2.8-5 | — |
| Debian 12 | apache2 | 2.2.8-5 | — |
References
- 20070411 Apache HTTPD suEXEC Multiple Vulnerabilities third-party-advisory
- 38640 vdb-entry
- [apache-http-dev] 20070328 Re: [Fwd: iDefense Final Notice [IDEF1445]] mailing-list
- 1017904 vdb-entry
- [apache-http-dev] 20070328 [Fwd: iDefense Final Notice [IDEF1445]] mailing-list