CVE-2023-29538
Medium · 4.3CVSS
4.3
EPSS
0.4%
Published
Jun 2, 2023
CISA due date
—
Cloudanix analysis
A browser flaw could let certain add-ons see parts of the folder structure on a user's computer.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Under specific load conditions a WebExtension receives a jar:file:/// URI instead of the expected moz-extension:/// URI, disclosing local directory paths on the host.
Why it matters to the business
Limited local path disclosure may assist attackers in reconnaissance or follow-on attacks; the issue has been public for over three years with negligible observed exploitation and stable low EPSS.
How an attack unfolds
An attacker develops or compromises a WebExtension that triggers a resource load under the specific circumstances that cause the browser to substitute a jar:file URI, allowing the extension to observe and exfiltrate the leaked host directory paths.
How to fix it
Upgrade Mozilla Firefox and Focus for Android to version 112 or newer; remove or disable any untrusted WebExtensions until patches are applied.
How to confirm the fix worked
Confirm installed browser versions are 112 or later; review extension update history and test load requests with sample extensions to ensure moz-extension URIs are consistently returned.
Typical attack path
- Develop or obtain a WebExtension capable of initiating the affected load sequence
- Distribute the extension to the target browser
- Trigger the load request that elicits the jar:file:/// URI
- Capture the disclosed directory path from the extension
How to detect it
Search browser and extension logs for unexpected jar:file:/// URIs; examine network or file-access telemetry from WebExtensions for path-like strings that do not begin with moz-extension.
- jar:file:///
- moz-extension URI replaced by file URI in extension load
What your security team should do
- Prioritize patching all Firefox and Focus instances to version 112+
- Audit installed WebExtensions and revoke unnecessary permissions
- Monitor extension-related logs for jar:file URIs as a temporary detection measure
The record
Under specific circumstances a WebExtension may have received a <code>jar:file:///</code> URI instead of a <code>moz-extension:///</code> URI during a load request. This leaked directory paths on the user's machine. 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