CVE-2018-12402
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | mozjs52 | Will not fix mozjs contains a copy of the SpiderMonkey JavaScript engine | UBUNTU-CVE-2018-12402 | |
| Ubuntu 18.04 | firefox | Fixed | 63.0+build2-0ubuntu0.18.04.2 | UBUNTU-CVE-2018-12402 |
| Ubuntu 18.04 | mozjs38 | Will not fix mozjs contains a copy of the SpiderMonkey JavaScript engine | UBUNTU-CVE-2018-12402 | |
| Ubuntu 18.04 | mozjs52 | Will not fix mozjs contains a copy of the SpiderMonkey JavaScript engine | UBUNTU-CVE-2018-12402 | |
| Ubuntu 16.04 | firefox | Fixed | 63.0+build2-0ubuntu0.16.04.2 | UBUNTU-CVE-2018-12402 |
| Ubuntu 14.04 | firefox | Fixed | 63.0+build2-0ubuntu0.14.04.2 | UBUNTU-CVE-2018-12402 |
| Red Hat Enterprise Linux 8 | firefox | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | firefox | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | firefox | Will 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.
- Mozilla Firefox: affected: unspecified to before 63; fixed in
63
Vendor advisories:
- https://usn.ubuntu.com/3801-1/ (vendor-advisory)
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=1469916
- https://bugzilla.mozilla.org/show_bug.cgi?id=1447087
- https://www.mozilla.org/security/advisories/mfsa2018-26/
- http://www.securityfocus.com/bid/105721
- https://usn.ubuntu.com/3801-1/
- http://www.securitytracker.com/id/1041944
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.