CVE-2016-1954: High severity Mozilla Firefox vulnerability
Security researcher Nicolas Golubovic reported that a malicious page can overwrite files on the user's machine using Content Security Policy (CSP) violation reports. The file contents are restricted to the JSON format of the report. In many cases overwriting a local file is simply be destructive, breaking the functionality of that file. The CSP error reports can include HTML fragments which could be rendered by browsers. If a user has disabled add-on signing and has installed an "unpacked" add-on, a malicious page could overwrite one of the add-on resources. Depending on how this resource is used, this could lead to privilege escalation.
External Reference:
https://www.mozilla.org/security/announce/2016/mfsa2016-17.html
Acknowledgements:
Name: the Mozilla project Upstream: Nicolas Golubovic
Other sources
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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Mozilla Firefoxto a version that resolves this vulnerability.Fixed in 45.0 - Upgrade
Upgrade
Firefox ESRto a version that resolves this vulnerability.Fixed in 38.7
Event History
Frequently Asked Questions
What is the severity of CVE-2016-1954?
CVE-2016-1954 is classified as a medium severity vulnerability, allowing denial of service attacks via non-HTTP report-uris.
How do I fix CVE-2016-1954?
To mitigate CVE-2016-1954, users should update to Mozilla Firefox 45.0 or later, or update to the Firefox ESR version 38.7 or later.
Which versions of Firefox are affected by CVE-2016-1954?
CVE-2016-1954 affects Mozilla Firefox versions prior to 45.0 and Firefox ESR versions prior to 38.7.
What kind of attack does CVE-2016-1954 facilitate?
CVE-2016-1954 can enable attackers to send reports to non-HTTP endpoints, potentially causing denial of service.
Are there any specific products affected by CVE-2016-1954?
Yes, CVE-2016-1954 impacts Mozilla Firefox and Mozilla Thunderbird versions up to and including 38.6.1.