CVE-2007-2401 Cross-site scripting in n/a
Remote attackers can inject HTTP headers via XMLHttpRequest, enabling cross-site scripting attacks in Apple Mac OS X and iPhone.
- 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
- None listed
What is CVE-2007-2401?
CVE-2007-2401 is a medium-severity cross-site scripting vulnerability in Apple Mac Os X, published on 25 Jun 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
CRLF injection vulnerability in WebCore in Apple Mac OS X 10.3.9, 10.4.9 and later, and iPhone before 1.0.1, allows remote attackers to inject arbitrary HTTP headers via LF characters in an XMLHttpRequest request, which are not filtered when serializing headers via the setRequestHeader function. NOTE: this issue can be leveraged for cross-site scripting (XSS) attacks.
Weakness: CWE-79
Which versions are affected by CVE-2007-2401?
It affects 2 products.
Products include Apple Mac Os X, Apple Mac Os X Server.
How do I fix CVE-2007-2401?
No fix has been published for CVE-2007-2401 yet. Limit exposure of the affected software until one is available.
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-2401 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-2401 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Apple Mac Os X
Sources
Also known as GHSA-mpp5-3g49-3p3w.