CVE-2022-28288
High · 8.8CVSS
8.8
EPSS
0.6%
Published
Dec 22, 2022
CISA due date
—
Cloudanix analysis
A flaw in an older browser version could let attackers seize control of a user's computer simply by getting them to visit a harmful website.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Memory corruption vulnerabilities in the browser engine that can be triggered by malicious web content to achieve arbitrary code execution.
Why it matters to the business
Attackers could take full control of affected user systems after a single visit to a malicious site, leading to data theft, ransomware deployment, or lateral movement with high urgency due to the 1396 days since publication and stable but non-zero exploitability signals.
How an attack unfolds
An attacker hosts or compromises a web page containing specially crafted content that triggers one of the memory safety bugs when rendered in vulnerable Firefox versions; with sufficient effort the corruption can be turned into remote code execution, though no named threat actors or ransomware campaigns have been observed exploiting this issue.
How to fix it
Upgrade Mozilla Firefox to version 99 or later on all systems; enable automatic updates where possible and audit any pinned or enterprise-managed deployments for versions below 99.
How to confirm the fix worked
Query browser version strings across the environment and confirm no instances remain below 99; review crash reports for memory-safety related signatures and re-test with the latest version.
Typical attack path
- Attacker prepares a malicious webpage exploiting the memory corruption
- Victim is tricked into visiting the page via phishing or compromised site
- Browser renders the page and triggers memory corruption
- Attacker achieves arbitrary code execution within the browser process
- Payload downloads additional malware or establishes persistence
How to detect it
Review browser crash logs and telemetry for memory corruption indicators; correlate web proxy or endpoint logs with visits to recently created or suspicious domains around the time of any anomalous Firefox processes.
What your security team should do
- Immediately deploy Firefox 99+ across all endpoints
- Block or isolate legacy browser instances until updated
- Monitor for anomalous browser process behavior or unexpected network connections from Firefox
The record
Mozilla developers and community members Randell Jesup, Sebastian Hengst, and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 98. 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 < 99.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 99.0+build2-0ubuntu0.18.04.2 |
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | firefox | 0 | 99.0+build2-0ubuntu0.20.04.2 |
| Ubuntu:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:22.04:LTS | firefox | 0 | 1:1snap1-0ubuntu1 |
| 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 | 99.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