CVE-2009-2058 Cross-site scripting in n/a
Man-in-the-middle attackers can execute arbitrary web script in Apple Safari by modifying HTTP Host headers in proxy CONNECT 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
- None listed
What is CVE-2009-2058?
CVE-2009-2058 is a medium-severity cross-site scripting vulnerability in Apple Safari, published on 15 Jun 2009. 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
Apple Safari before 3.2.2 uses the HTTP Host header to determine the context of a document provided in a (1) 4xx or (2) 5xx CONNECT response from a proxy server, which allows man-in-the-middle attackers to execute arbitrary web script by modifying this CONNECT response, aka an "SSL tampering" attack.
Weakness: CWE-287
Which versions are affected by CVE-2009-2058?
It affects 1 product.
Products include Apple Safari.
How do I fix CVE-2009-2058?
No fix has been published for CVE-2009-2058 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-2009-2058 being exploited?
There is no known exploitation of CVE-2009-2058 in the wild and no public exploit code.
Other vulnerabilities in Apple Safari
Sources
Also known as GHSA-pqw6-9pgr-fr4x.