CVE-2018-12402
published 2019-02-28CVE-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…
PriorityP429medium6.5CVSS 3.0
AVNACLPRNUIRSUCHINAN
EPSS
1.41%
69.3th percentile
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.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | firefox | < firefox 63.0-1 (sid) | firefox 63.0-1 (sid) |
| mozilla | firefox | < 63.0 | 63.0 |
| mozilla | firefox | >= 0 < 63.0.3+build1-0ubuntu0.14.04.1 | 63.0.3+build1-0ubuntu0.14.04.1 |
| mozilla | firefox | >= 0 < 63.0+build2-0ubuntu0.14.04.2 | 63.0+build2-0ubuntu0.14.04.2 |
| mozilla | firefox | >= 0 < 63.0.3+build1-0ubuntu0.16.04.1 | 63.0.3+build1-0ubuntu0.16.04.1 |
| mozilla | firefox | >= 0 < 63.0+build2-0ubuntu0.16.04.2 | 63.0+build2-0ubuntu0.16.04.2 |
| mozilla | firefox | >= 0 < 63.0.3+build1-0ubuntu0.18.04.1 | 63.0.3+build1-0ubuntu0.18.04.1 |
| mozilla | firefox | >= 0 < 63.0+build2-0ubuntu0.18.04.2 | 63.0+build2-0ubuntu0.18.04.2 |
| mozilla | firefox | >= unspecified < 63 | 63 |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Firefox regressions
vendor_ubuntu·2018-11-23·CVSS 8.8
[HIGH] Firefox regressions
Title: Firefox regressions
Summary: USN-3801-1 caused some minor regressions in Firefox.
USN-3801-1 fixed vulnerabilities in Firefox. The update introduced various
minor regressions. This update fixes the problems.
We apologize for the inconvenience.
Original advisory details:
Multiple security issues were discovered in Firefox. If a user were
tricked in to opening a specially crafted website, an attacker could
potentially exploit these to cause a denial of service, bypass CSP
restrictions, spoof the protocol registration notification bar, leak
SameSite cookies, bypass mixed content warnings, or execute arbitrary
code. (CVE-2018-12388, CVE-2018-12390, CVE-2018-12392, CVE-2018-12393,
CVE-2018-12398, CVE-2018-12399, CVE-2018-12401, CVE-2018-12402,
CVE-2018-12403)
Multiple security issu
Ubuntu
Firefox vulnerabilities
vendor_ubuntu·2018-10-24·CVSS 8.8
CVE-2018-12388 [HIGH] Firefox vulnerabilities
Title: Firefox vulnerabilities
Summary: Firefox could be made to crash or run programs as your login if it
opened a malicious website.
Multiple security issues were discovered in Firefox. If a user were
tricked in to opening a specially crafted website, an attacker could
potentially exploit these to cause a denial of service, bypass CSP
restrictions, spoof the protocol registration notification bar, leak
SameSite cookies, bypass mixed content warnings, or execute arbitrary
code. (CVE-2018-12388, CVE-2018-12390, CVE-2018-12392, CVE-2018-12393,
CVE-2018-12398, CVE-2018-12399, CVE-2018-12401, CVE-2018-12402,
CVE-2018-12403)
Multiple security issues were discovered with WebExtensions in Firefox.
If a user were tricked in to installing a specially crafted extension, an
attacker could potenti
Red Hat
firefox: WebBrowserPersist uses incorrect origin information
vendor_redhat·2018-10-23·CVSS 6.5
CVE-2018-12402 [MEDIUM] CWE-284 firefox: WebBrowserPersist uses incorrect origin information
firefox: WebBrowserPersist uses incorrect origin information
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.
Package: firefox (Red Hat Enterprise Linux 6) - Will not fix
Package: firefox
Debian
CVE-2018-12402: firefox - The internal WebBrowserPersist code does not use correct origin context for a re...
vendor_debian·2018·CVSS 6.5
CVE-2018-12402 [MEDIUM] CVE-2018-12402: firefox - The internal WebBrowserPersist code does not use correct origin context for a re...
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.
Scope: local
sid: resolved (fixed in 63.0-1)
GHSA
GHSA-ggqr-5458-x5c8: The internal WebBrowserPersist code does not use correct origin context for a resource being saved
ghsa_unreviewed·2022-05-13
CVE-2018-12402 [MEDIUM] CWE-346 GHSA-ggqr-5458-x5c8: The internal WebBrowserPersist code does not use correct origin context for a resource being saved
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.
OSV
firefox regressions
osv·2018-11-23·CVSS 8.8
[HIGH] firefox regressions
firefox regressions
USN-3801-1 fixed vulnerabilities in Firefox. The update introduced various
minor regressions. This update fixes the problems.
We apologize for the inconvenience.
Original advisory details:
Multiple security issues were discovered in Firefox. If a user were
tricked in to opening a specially crafted website, an attacker could
potentially exploit these to cause a denial of service, bypass CSP
restrictions, spoof the protocol registration notification bar, leak
SameSite cookies, bypass mixed content warnings, or execute arbitrary
code. (CVE-2018-12388, CVE-2018-12390, CVE-2018-12392, CVE-2018-12393,
CVE-2018-12398, CVE-2018-12399, CVE-2018-12401, CVE-2018-12402,
CVE-2018-12403)
Multiple security issues were discovered with WebExtensions in Firefox.
If a user were trick
OSV
firefox vulnerabilities
osv·2018-10-24·CVSS 8.8
CVE-2018-12388 [HIGH] firefox vulnerabilities
firefox vulnerabilities
Multiple security issues were discovered in Firefox. If a user were
tricked in to opening a specially crafted website, an attacker could
potentially exploit these to cause a denial of service, bypass CSP
restrictions, spoof the protocol registration notification bar, leak
SameSite cookies, bypass mixed content warnings, or execute arbitrary
code. (CVE-2018-12388, CVE-2018-12390, CVE-2018-12392, CVE-2018-12393,
CVE-2018-12398, CVE-2018-12399, CVE-2018-12401, CVE-2018-12402,
CVE-2018-12403)
Multiple security issues were discovered with WebExtensions in Firefox.
If a user were tricked in to installing a specially crafted extension, an
attacker could potentially exploit these to bypass domain restrictions,
gain additional privileges, or run content scripts in local pa
OSV
CVE-2018-12402: The internal WebBrowserPersist code does not use correct origin context for a resource being saved
osv·2018-10-24·CVSS 6.5
CVE-2018-12402 [MEDIUM] CVE-2018-12402: The internal WebBrowserPersist code does not use correct origin context for a resource being saved
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.
No detection rules found.
No public exploits indexed.
HackerOne
SameSite restrictions are lifted, and SameSite:Strict cookie are being sent.
hackerone·2025-10-15·CVSS 6.5
[MEDIUM] SameSite restrictions are lifted, and SameSite:Strict cookie are being sent.
SameSite restrictions are lifted, and SameSite:Strict cookie are being sent.
## Summary:
hello, Brave team.
There are cases where the SameSite policy is being bypassed, and I would like to report them.
When a user left-clicks a link in a cross-domain context and selects "Open Link in Split View," all cookies—including those with SameSite=Strict—are sent, even though it is a cross-site navigation.
* For SameSite cookies, only SameSite=Lax cookies should be sent during cross-site navigations.
Before providing a detailed explanation, here is a list of CVEs and issues that were reported as a result of SameSite violations.:
https://issues.chromium.org/issues/40057062
https://issues.chromium.org/issues/40050641
https://issues.chromium.org/issues/40057831
https://issues.chromium.org/issues/40
Bugzilla
CVE-2018-12402 firefox: WebBrowserPersist uses incorrect origin information
bugzilla·2019-04-04·CVSS 6.5
CVE-2018-12402 [MEDIUM] CVE-2018-12402 firefox: WebBrowserPersist uses incorrect origin information
CVE-2018-12402 firefox: WebBrowserPersist uses incorrect origin information
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.
References:
https://bugzilla.mozilla.org/show_bug.cgi?id=144708
Bugzilla
Saving web page embedding file: resources allows accessing SMB resources
bugzilla·2018-03-19
[MEDIUM] Saving web page embedding file: resources allows accessing SMB resources
Saving web page embedding file: resources allows accessing SMB resources
Created attachment 8960284
poc.zip
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:59.0) Gecko/20100101 Firefox/59.0
Build ID: 20180315233128
Steps to reproduce:
Loading a file: resource is blocked when viewing pages over HTTP/HTTPS. However, when saving the page, any embedded file: resources are accessed. This may expose the user to SMB Relay Attacks, allowing to steal Windows user credentials.
Steps to reproduce:
Some definitions:
Victim pc: the "victim's pc".
HTTP server: a remote machine running a webserver.
SMB server: a remote machine hosting "smbtrap", a Python-based SMB server that steals Windows user credentials.
1. HTTP server: From the attached ZIP, upload poc.html to this machine, so it
http://www.securityfocus.com/bid/105721http://www.securitytracker.com/id/1041944https://bugzilla.mozilla.org/show_bug.cgi?id=1447087https://bugzilla.mozilla.org/show_bug.cgi?id=1469916https://usn.ubuntu.com/3801-1/https://www.mozilla.org/security/advisories/mfsa2018-26/http://www.securityfocus.com/bid/105721http://www.securitytracker.com/id/1041944https://bugzilla.mozilla.org/show_bug.cgi?id=1447087https://bugzilla.mozilla.org/show_bug.cgi?id=1469916https://usn.ubuntu.com/3801-1/https://www.mozilla.org/security/advisories/mfsa2018-26/
2019-02-28
Published