Mozilla Foundation Security Advisory 2023-06

Security Vulnerabilities fixed in Firefox ESR 102.8

Announced
February 14, 2023
Impact
high
Products
Firefox ESR
Fixed in
  • Firefox ESR 102.8

#CVE-2023-25728: Content security policy leak in violation reports using iframes

Reporter
Johan Carlsson
Impact
high
Description

The Content-Security-Policy-Report-Only header could allow an attacker to leak a child iframe's unredacted URI when interaction with that iframe triggers a redirect.

References

#CVE-2023-25730: Screen hijack via browser fullscreen mode

Reporter
Irvan Kurniawan
Impact
high
Description

A background script invoking requestFullscreen and then blocking the main thread could force the browser into fullscreen mode indefinitely, resulting in potential user confusion or spoofing attacks.

References

#CVE-2023-0767: Arbitrary memory write via PKCS 12 in NSS

Reporter
Christian Holler
Impact
high
Description

An attacker could construct a PKCS 12 cert bundle in such a way that could allow for arbitrary memory writes via PKCS 12 Safe Bag attributes being mishandled.

References

#CVE-2023-25735: Potential use-after-free from compartment mismatch in SpiderMonkey

Reporter
Samuel Groß
Impact
high
Description

Cross-compartment wrappers wrapping a scripted proxy could have caused objects from other compartments to be stored in the main compartment resulting in a use-after-free after unwrapping the proxy.

References

#CVE-2023-25737: Invalid downcast in SVGUtils::SetupStrokeGeometry

Reporter
Lukas Bernhard
Impact
high
Description

An invalid downcast from nsTextNode to SVGElement could have lead to undefined behavior.

References

#CVE-2023-25738: Printing on Windows could potentially crash Firefox with some device drivers

Reporter
Mark
Impact
high
Description

Members of the DEVMODEW struct set by the printer device driver weren't being validated and could have resulted in invalid values which in turn would cause the browser to attempt out of bounds access to related variables.
This bug only affects Firefox on Windows. Other operating systems are unaffected.

References

#CVE-2023-25739: Use-after-free in mozilla::dom::ScriptLoadContext::~ScriptLoadContext

Reporter
Holger Fuhrmannek
Impact
high
Description

Module load requests that failed were not being checked as to whether or not they were cancelled causing a use-after-free in ScriptLoadContext.

References

#CVE-2023-25729: Extensions could have opened external schemes without user knowledge

Reporter
Vitor Torres
Impact
moderate
Description

Permission prompts for opening external schemes were only shown for ContentPrincipals resulting in extensions being able to open them without user interaction via ExpandedPrincipals. This could lead to further malicious actions such as downloading files or interacting with software already installed on the system.

References

#CVE-2023-25732: Out of bounds memory write from EncodeInputStream

Reporter
Ronald Crane
Impact
moderate
Description

When encoding data from an inputStream in xpcom the size of the input being encoded was not correctly calculated potentially leading to an out of bounds memory write.

References

#CVE-2023-25734: Opening local .url files could cause unexpected network loads

Reporter
Ameen Basha M K and Shaheen Fazim
Impact
moderate
Description

After downloading a Windows .url shortcut from the local filesystem, an attacker could supply a remote path that would lead to unexpected network requests from the operating system. This also had the potential to leak NTLM credentials to the resource.
This bug only affects Firefox on Windows. Other operating systems are unaffected.

References

#CVE-2023-25742: Web Crypto ImportKey crashes tab

Reporter
Goras Francesco
Impact
low
Description

When importing a SPKI RSA public key as ECDSA P-256, the key would be handled incorrectly causing the tab to crash.

References

#CVE-2023-25744: Memory safety bugs fixed in Firefox 110 and Firefox ESR 102.8

Reporter
Mozilla developers and community
Impact
high
Description

Mozilla developers Kershaw Chang and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 109 and Firefox ESR 102.7. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code.

References

#CVE-2023-25746: Memory safety bugs fixed in Firefox ESR 102.8

Reporter
Mozilla developers and community
Impact
high
Description

Mozilla developers Philipp and Gabriele Svelto reported memory safety bugs present in Firefox ESR 102.7. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code.

References