Description
Apache HTTP Server 2.0.x and 2.2.x does not sanitize the HTTP Method specifier header from an HTTP request when it is reflected back in a "413 Request Entity Too Large" error message, which might allow cross-site scripting (XSS) style attacks using web client components that can send arbitrary headers in requests, as demonstrated via an HTTP request containing an invalid Content-length value, a similar issue to CVE-2006-3918.
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.6-3 | — |
| Debian 13 | apache2 | 2.2.6-3 | — |
| Debian 12 | apache2 | 2.2.6-3 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Apache 2.2.4 - 413 Error HTTP Request Method Cross-Site Scripting EDB-30835 · remote · Nov 30, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- PK57952 vendor-advisory
- GLSA-200803-19 vendor-advisory
- 26663 vdb-entry
- oval:org.mitre.oval:def:12166 vdb-entry signature
- 34219 third-party-advisory
- HPSBUX02465 vendor-advisory
- 27906 third-party-advisory
- ADV-2008-1623 vdb-entry
- ADV-2008-0924 vdb-entry
- 3411 third-party-advisory
- ADV-2007-4301 vdb-entry
- USN-731-1 vendor-advisory
- HPSBUX02612 vendor-advisory
- 29420 third-party-advisory
- ADV-2007-4060 vdb-entry
- APPLE-SA-2008-03-18 vendor-advisory
- 33105 third-party-advisory
- 1019030 vdb-entry
- PK65782 vendor-advisory
- 20071130 PR07-37: XSS on Apache HTTP Server 413 error pages via malformed HTTP method mailing-list
- 29348 third-party-advisory
- http://www.fujitsu.com/global/support/software/security/products-f/interstage-200807e.html
- 28196 third-party-advisory
- SUSE-SA:2008:021 vendor-advisory
- 30356 third-party-advisory
- http://docs.info.apple.com/article.html?artnum=307562
- 29640 third-party-advisory
- apache-413error-xss(38800) vdb-entry
- ADV-2008-1875 vdb-entry
- 30732 third-party-advisory
- http://procheckup.com/Vulnerability_PR07-37.php