CVE-2007-6203 Cross-site scripting in n/a
Reflected XSS in Apache HTTP Server allows attackers to execute scripts in victim browsers via crafted HTTP method headers in error responses.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2007-6203?
CVE-2007-6203 is a medium-severity cross-site scripting vulnerability in Apache Http Server, published on 3 Dec 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2007-6203?
It affects 1 product.
Products include Apache Http Server.
How do I fix CVE-2007-6203?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2007-6203 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-6203 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Apache Http Server
Sources
Also known as DEBIAN-CVE-2007-6203, GHSA-g7xr-j224-9v5w.