CVE-2007-4465 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML via the P parameter in Apache HTTP Server when charset is undefined, exploiting UTF-7 encoding.
- 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-4465?
CVE-2007-4465 is a medium-severity cross-site scripting vulnerability in Apache Http Server, published on 14 Sep 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
Cross-site scripting (XSS) vulnerability in mod_autoindex.c in the Apache HTTP Server before 2.2.6, when the charset on a server-generated page is not defined, allows remote attackers to inject arbitrary web script or HTML via the P parameter using the UTF-7 charset. NOTE: it could be argued that this issue is due to a design limitation of browsers that attempt to perform automatic content type detection.
Weakness: CWE-79
Which versions are affected by CVE-2007-4465?
It affects 1 product.
Products include Apache Http Server.
How do I fix CVE-2007-4465?
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-4465 being exploited?
There is no known exploitation of CVE-2007-4465 in the wild and no public exploit code.
Other vulnerabilities in Apache Http Server
Sources
Also known as DEBIAN-CVE-2007-4465, GHSA-7286-985c-74qv.