CVE-2016-1954 Path traversal in n/a

High 8.8 Published Updated

Remote attackers can overwrite local files or gain privileges by exploiting CSP report-uri handling in Firefox.

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-2016-1954?

CVE-2016-1954 is a high-severity path traversal vulnerability in Mozilla Firefox, published on 13 Mar 2016. 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

The nsCSPContext::SendReports function in dom/security/nsCSPContext.cpp in Mozilla Firefox before 45.0 and Firefox ESR 38.x before 38.7 does not prevent use of a non-HTTP report-uri for a Content Security Policy (CSP) violation report, which allows remote attackers to cause a denial of service (data overwrite) or possibly gain privileges by specifying a URL of a local file.

Weakness: CWE-264

Which versions are affected by CVE-2016-1954?

It affects 6 products.

Products include Mozilla Firefox, Mozilla Thunderbird, Novell Suse Package Hub for Suse Linux Enterprise, Opensuse Leap, Opensuse Opensuse, Oracle Linux.

How do I fix CVE-2016-1954?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2016-1954 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-1954, GHSA-hh86-fc79-9mq4, UBUNTU-CVE-2016-1954.

Is CVE-2016-1954 in your software?

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

Check your SBOMs for free