CVEfocus › CVE database › CVE-2018-12402

CVE-2018-12402

CVSS 6.5 MediumEPSS 1.5% (higher than 75% of CVEs)Published 2019-02-28Updated 2024-08-05Assigner: mozilla

The internal WebBrowserPersist code does not use correct origin context for a resource being saved. This manifests when sub-resources are loaded as part of "Save Page As..." functionality. For example, a malicious page could recover a visitor's Windows username and NTLM hash by including resources otherwise unreachable to the malicious page, if they can convince the visitor to save the complete web page. Similarly, SameSite cookies are sent on cross-origin requests when the "Save Page As..." menu item is selected to save a page, which can result in saving the wrong version of resources based on those cookies. This vulnerability affects Firefox < 63.

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
6Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04mozjs52Will not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine
UBUNTU-CVE-2018-12402
Ubuntu 18.04firefoxFixed63.0+build2-0ubuntu0.18.04.2UBUNTU-CVE-2018-12402
Ubuntu 18.04mozjs38Will not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine
UBUNTU-CVE-2018-12402
Ubuntu 18.04mozjs52Will not fix
mozjs contains a copy of the SpiderMonkey JavaScript engine
UBUNTU-CVE-2018-12402
Ubuntu 16.04firefoxFixed63.0+build2-0ubuntu0.16.04.2UBUNTU-CVE-2018-12402
Ubuntu 14.04firefoxFixed63.0+build2-0ubuntu0.14.04.2UBUNTU-CVE-2018-12402
Red Hat Enterprise Linux 8firefoxWill not fix
Will not fix
Red Hat Enterprise Linux 7firefoxWill not fix
Will not fix
Red Hat Enterprise Linux 6firefoxWill not fix
Will not fix

What the vendor says

As published in the CVE record by mozilla, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.