CVE-2018-5175
Mozilla: Universal CSP bypass on sites using strict-dynamic in their policies
Overview
Description
A mechanism to bypass Content Security Policy (CSP) protections on sites that have a "script-src" policy of "'strict-dynamic'". If a target website contains an HTML injection flaw an attacker could inject a reference to a copy of the "require.js" library that is part of Firefox's Developer Tools, and then use a known technique using that library to bypass the CSP restrictions on executing injected scripts. This vulnerability affects Firefox < 60.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 4 fixes
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | mozillafirefox +2 | 68.2.0-109.95.2 | SUSE-SU-2019:2872-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | firefox-esr +3 | 128.5.1-1.1 | openSUSE-SU-2024:14572-1 |
| Tumbleweed | mozillafirefox +4 | 92.0-1.2 | openSUSE-SU-2024:10600-1 |
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | firefox | 60.0+build2-0ubuntu1 |
References
- www.securityfocus.com http://www.securityfocus.com/bid/104139
- www.securitytracker.com http://www.securitytracker.com/id/1040896
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-5175
- bugzilla.mozilla.org https://bugzilla.mozilla.org/show_bug.cgi?id=1432358
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-5175
- ubuntu.com https://ubuntu.com/security/notices/USN-3645-1
- usn.ubuntu.com https://usn.ubuntu.com/3645-1/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-5175
- www.mozilla.org https://www.mozilla.org/en-US/security/advisories/mfsa2018-11/#CVE-2018-5175
- www.mozilla.org https://www.mozilla.org/security/advisories/mfsa2018-11/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.