CVE-2018-12402 Information disclosure in Firefox

Medium 6.5 Published Updated

A malicious page can leak Windows credentials and bypass SameSite cookie restrictions when a user saves the page, exposing sensitive data.

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-2018-12402?

CVE-2018-12402 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 28 Feb 2019. 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 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.

Weakness: CWE-346

Which versions are affected by CVE-2018-12402?

It affects 2 products.

Products include Canonical Ubuntu Linux, Mozilla Firefox.

How do I fix CVE-2018-12402?

Upgrade to a fixed version.

Is CVE-2018-12402 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-ggqr-5458-x5c8, UBUNTU-CVE-2018-12402.

Is CVE-2018-12402 in your software?

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

Check your SBOMs for free