CVE-2023-29543
High · 8.8CVSS
8.8
EPSS
0.5%
Published
Jun 2, 2023
CISA due date
—
Cloudanix analysis
A flaw in certain web browsers could let attackers take control of a user's device simply by getting them to visit a malicious webpage.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Use-after-free of a pointer in the debugger vector of a global object causing memory corruption that can be leveraged for arbitrary code execution.
Why it matters to the business
Remote attackers could gain full control of affected user devices, enabling theft of credentials, data exfiltration, or installation of persistent malware across browser user bases.
How an attack unfolds
An attacker serves specially crafted web content that interacts with the debugger vector, frees the pointer while it remains referenced, then reuses the dangling pointer to corrupt memory and execute attacker-controlled code.
How to fix it
Upgrade Mozilla Firefox to version 112 or newer and Mozilla Focus for Android to version 112 or newer; apply updates through official channels and verify installation.
How to confirm the fix worked
Confirm installed browser versions meet or exceed 112; re-test affected debugger vector code paths in a controlled environment after patching.
Typical attack path
- Deliver malicious HTML/JS via a crafted website or ad
- Victim browser renders the page and exercises debugger vector paths
- Trigger use-after-free to corrupt memory layout
- Achieve arbitrary code execution within the browser process
How to detect it
Review browser process crash logs and memory dumps for signs of corruption involving debugger vector structures; correlate with web request logs showing visits to untrusted domains around the time of anomalies.
What your security team should do
- Immediately deploy browser updates to all managed endpoints
- Block known malicious domains and monitor web traffic for suspicious rendering behavior
- Enable browser sandboxing and exploit-mitigation features where available
The record
An attacker could have caused memory corruption and a potentially exploitable use-after-free of a pointer in a global object's debugger vector. This vulnerability affects Firefox for Android < 112, Firefox < 112, and Focus for Android < 112.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 112.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 | 112.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 | 112.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