CVE-2017-7823 Cross-site scripting in Firefox
A flaw in the Content Security Policy sandbox directive allowed Cross-Site Scripting attacks by failing to enforce a unique origin.
- 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-2017-7823?
CVE-2017-7823 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 11 Jun 2018. 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 content security policy (CSP) "sandbox" directive did not create a unique origin for the document, causing it to behave as if the "allow-same-origin" keyword were always specified. This could allow a Cross-Site Scripting (XSS) attack to be launched from unsafe content. This vulnerability affects Firefox < 56, Firefox ESR < 52.4, and Thunderbird < 52.4.
Weakness: CWE-79
Which versions are affected by CVE-2017-7823?
It affects 8 products.
Products include Debian Debian Linux, Mozilla Firefox, Mozilla Thunderbird, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus and 2 more.
How do I fix CVE-2017-7823?
Upgrade to a fixed version.
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-2017-7823 being exploited?
There is no known exploitation of CVE-2017-7823 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2017-7823, GHSA-hhcx-w758-8p3p, UBUNTU-CVE-2017-7823.