CVE-2022-36320
Critical · 9.8CVSS
9.8
EPSS
0.7%
Published
Dec 22, 2022
CISA due date
—
Cloudanix analysis
Older versions of the Firefox browser contain flaws that could let a malicious website take over a user's computer.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Multiple memory safety bugs in Firefox 102 that exhibit memory corruption and could be leveraged for arbitrary code execution.
Why it matters to the business
Remote attackers could gain full control of affected user systems running unpatched Firefox, enabling data theft, malware deployment, or lateral movement; the vulnerability has been public for nearly four years with low but non-zero exploitation probability.
How an attack unfolds
An attacker crafts specially formatted web content that triggers one of the memory corruption issues when rendered in Firefox, achieving code execution in the browser process without requiring user credentials or interaction beyond page visitation.
How to fix it
Upgrade Mozilla Firefox to version 103 or later on all systems.
How to confirm the fix worked
Confirm all Firefox installations report version 103 or higher; scan enterprise endpoints and browser update logs for any instances still reporting versions below 103.
Typical attack path
- Identify or craft a web page that exercises the memory safety bugs
- Host or inject the malicious content on a site visited by the target
- Trigger memory corruption to achieve arbitrary code execution in the browser
How to detect it
Examine browser crash reports, process creation logs, and network traffic for signs of unexpected code execution or memory-related anomalies in Firefox processes; correlate with web request histories to malicious domains.
What your security team should do
- Immediately deploy Firefox 103+ across the environment
- Audit browser update policies and enforce automatic updates
- Review endpoint detection rules for browser process anomalies
The record
Mozilla developers and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 102. 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 < 103.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 103.0+build1-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 | 103.0+build1-0ubuntu0.20.04.1 |
| Ubuntu:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:20.04:LTS | thunderbird | 0 | 1:102.2.2+build1-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs91 | 0 | No fix |
| Ubuntu:22.04:LTS | thunderbird | 0 | 1:102.2.2+build1-0ubuntu0.22.04.1 |
| 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 | 103.0.1-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-32216 Memory safety bugs present in Firefox 112. 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