CVE-2023-23597
Medium · 6.5CVSS
6.5
EPSS
0.3%
Published
Jun 2, 2023
CISA due date
—
Cloudanix analysis
An older version of Firefox could let attackers who already broke into the browser read private files on the computer.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Data Exposure
- Component
- Application
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A compromised web child process can bypass web security opening restrictions to spawn a new child process in the file:// context, enabling subsequent arbitrary file read when combined with another exploit primitive.
Why it matters to the business
Attackers who already have a foothold in a browser process could read arbitrary local files belonging to the user, exposing credentials, documents, or other sensitive data on systems running outdated Firefox versions.
How an attack unfolds
An attacker first obtains code execution inside a web renderer child process through a separate vulnerability, then leverages this flaw to disable security restrictions, spawn a new process under the file:// origin, and chain a second primitive to read arbitrary files from the local filesystem.
How to fix it
Upgrade Mozilla Firefox to version 109 or later on all affected systems; ensure automatic updates are enabled and verify the installed version after deployment.
How to confirm the fix worked
Confirm the Firefox version string is 109.0 or higher; re-test any known renderer escape primitives to ensure file:// process spawning is no longer possible.
Typical attack path
- Obtain initial code execution inside a Firefox web renderer child process
- Disable web security opening restrictions via the flaw
- Spawn a new child process within the file:// context
- Chain a second exploit primitive to perform arbitrary file reads
How to detect it
Inspect process creation logs and browser telemetry for Firefox child processes launched with file:// origins or unusual sandbox bypass indicators; correlate with known renderer compromise events.
What your security team should do
- Prioritize immediate upgrade of all Firefox installations to 109 or newer
- Disable automatic opening of untrusted file:// URIs via enterprise policy where feasible
- Monitor browser update compliance dashboards for the next 30 days
- Review endpoint detection rules for suspicious Firefox child processes
The record
A compromised web child process could disable web security opening restrictions, leading to a new child process being spawned within the <code>file://</code> context. Given a reliable exploit primitive, this new process could be exploited again leading to arbitrary file read. This vulnerability affects Firefox < 109.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 109.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 | 109.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 | 109.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