CVE-2022-0511
High · 8.8CVSS
8.8
EPSS
0.6%
Published
Dec 22, 2022
CISA due date
—
Cloudanix analysis
Older versions of the Firefox browser contain flaws that could let a malicious website take control of a user's computer.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Theoretical
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Multiple memory safety bugs in Firefox 96 result in memory corruption that can be leveraged for arbitrary code execution.
Why it matters to the business
Attackers could gain control of affected user systems through the browser, enabling theft of credentials, installation of malware, or lateral movement inside the organization; the issue has been public for over three years with no known ransomware use but still requires immediate attention due to its age and prevalence in the browser ecosystem.
How an attack unfolds
An attacker hosts or compromises a web page that triggers one of the memory corruption bugs when rendered in a vulnerable Firefox instance; with sufficient effort the corruption can be turned into arbitrary code execution inside the browser process, allowing the attacker to run chosen payloads without user interaction beyond visiting the page.
How to fix it
Upgrade all Firefox installations to version 97 or later; enforce automatic updates where possible and verify version numbers centrally.
How to confirm the fix worked
Query endpoint management or browser inventory tools to confirm no instances remain below version 97; re-scan after the update window to ensure exposure is eliminated.
Typical attack path
- Host or compromise a web page containing the trigger for the memory safety bugs
- Lure users to the page via phishing, malvertising, or compromised sites
- Page loads in vulnerable Firefox version and triggers memory corruption
- Exploit payload gains arbitrary code execution inside the browser
- Attacker installs malware, steals data, or pivots to other systems
How to detect it
Examine browser process creation logs, EDR telemetry for unexpected child processes spawned by firefox.exe, and network logs for connections to previously unknown domains around the time of page visits; no public exploitation artifacts are known.
What your security team should do
- Immediately push Firefox 97+ to all managed endpoints and block older versions via policy
- Monitor browser update compliance dashboards for the next 30 days
- Review web proxy or EDR logs for any post-publication suspicious activity originating from Firefox processes
The record
Mozilla developers and community members Gabriele Svelto, Sebastian Hengst, Randell Jesup, Luan Herrera, Lars T Hansen, and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 96. 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 < 97.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 97.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 | 97.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 | firefox | 0 | 97.0+build2-0ubuntu1 |
| Ubuntu:22.04:LTS | mozjs78 | 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 | 97.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-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