CVE-2007-5960 Security feature bypass in n/a

Medium 4.3 Published Updated

Remote attackers can spoof HTTP Referer headers to bypass CSRF protections by exploiting how Firefox sets the Referer header during script execution.

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-5960?

CVE-2007-5960 is a medium-severity vulnerability in Mozilla Firefox, published on 26 Nov 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

Mozilla Firefox before 2.0.0.10 and SeaMonkey before 1.1.7 sets the Referer header to the window or frame in which script is running, instead of the address of the content that initiated the script, which allows remote attackers to spoof HTTP Referer headers and bypass Referer-based CSRF protection schemes by setting window.location and using a modal alert dialog that causes the wrong Referer to be sent.

Weakness: CWE-22

Which versions are affected by CVE-2007-5960?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Seamonkey.

How do I fix CVE-2007-5960?

Upgrade to a fixed version.

Is CVE-2007-5960 being exploited?

There is no known exploitation of CVE-2007-5960 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-9vw2-7m33-r6hw.

Is CVE-2007-5960 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free