CVE-2023-32216
Critical · 9.8CVSS
9.8
EPSS
0.8%
Published
Jun 19, 2023
CISA due date
—
Cloudanix analysis
A flaw in an older version of the Firefox browser could let attackers take over a user's computer simply by getting them to visit a malicious website.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Multiple memory safety issues in Firefox 112 result in memory corruption that can be leveraged for arbitrary code execution in the browser process.
Why it matters to the business
Unpatched browsers allow attackers to take full control of affected user systems, risking data theft, credential compromise, and malware deployment across the organization.
How an attack unfolds
An attacker hosts or injects malicious content that triggers one of the memory corruption bugs when rendered in a vulnerable Firefox instance, achieving code execution without user interaction beyond visiting the page.
How to fix it
Upgrade all Firefox installations to version 113 or later. Enforce automatic updates through enterprise policies and verify the installed version across managed endpoints.
How to confirm the fix worked
Confirm the Firefox version string reports 113 or higher on all systems and review update logs or deployment reports to ensure the patch has been applied organization-wide.
Typical attack path
- Attacker prepares a webpage or email attachment containing a crafted payload targeting the memory safety flaws
- Victim opens the content in Firefox version 112 or earlier
- Memory corruption occurs and is chained to execute attacker-controlled code
- Attacker installs persistence, exfiltrates data, or pivots within the environment
How to detect it
Review browser crash logs and telemetry for unexpected memory-related crashes around the time of suspected exposure; correlate with web proxy logs showing visits to suspicious domains.
What your security team should do
- Immediately deploy Firefox 113+ via centralized software distribution
- Disable or restrict Firefox on high-risk systems until patched
- Monitor browser crash reports and update telemetry for signs of exploitation attempts
- Educate users on avoiding untrusted web content until remediation is complete
The record
Memory safety bugs present in Firefox 112. 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. This vulnerability affects Firefox < 113.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 113.0+build2-0ubuntu0.18.04.1 |
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | firefox | 0 | 113.0+build2-0ubuntu0.20.04.1 |
| Ubuntu:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs91 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | mozjs78 | 0 | No fix |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 113.0-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2023-25736 An invalid downcast from `nsHTMLDocument` to `nsIContent` could have lead to undefined… Also affects firefox
- CVE-2023-25733 The return value from `gfx::SourceSurfaceSkia::Map()` wasn't being verified which could… Also affects firefox
- CVE-2023-32210 Documents were incorrectly assuming an ordering of principal objects when ensuring we… Also affects firefox
- CVE-2023-32209 A maliciously crafted favicon could have led to an out of memory crash. Also affects firefox
- CVE-2023-32208 Service workers could reveal script base URL due to dynamic `import()`. Also affects firefox
- CVE-2023-29551 Memory safety bugs present in Firefox 111. Also affects firefox
- CVE-2023-32207 A missing delay in popup notifications could have made it possible for an attacker to… Also affects firefox
- CVE-2023-32205 In multiple cases browser prompts could have been obscured by popups controlled by… Also affects firefox