CVE-2017-7798 Code injection in Firefox

High 8.8 Published Updated

Attackers can execute arbitrary code via XUL injection in the Developer Tools style editor when a user opens a malicious page.

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

CVE-2017-7798 is a high-severity code injection 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 Developer Tools feature suffers from a XUL injection vulnerability due to improper sanitization of the web page source code. In the worst case, this could allow arbitrary code execution when opening a malicious page with the style editor tool. This vulnerability affects Firefox ESR < 52.3 and Firefox < 55.

Weakness: CWE-94

Which versions are affected by CVE-2017-7798?

It affects 8 products.

Products include Debian Debian Linux, Mozilla Firefox, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus and 2 more.

How do I fix CVE-2017-7798?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2017-7798 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-7798, GHSA-2f4j-64mc-h8m2, UBUNTU-CVE-2017-7798.

Is CVE-2017-7798 in your software?

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

Check your SBOMs for free