CVE-2023-23604
Medium · 6.5CVSS
6.5
EPSS
0.5%
Published
Jun 2, 2023
CISA due date
—
Cloudanix analysis
A browser flaw let certain security checks be skipped when handling web content, potentially allowing unwanted actions until the software is updated.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A duplicate SystemPrincipal object could be created when parsing a non-system html document via DOMParser::ParseFromSafeString, allowing bypass of web security checks.
Why it matters to the business
Attackers could bypass browser security mechanisms in affected versions, risking unauthorized actions or data exposure for users until patched; low EPSS and no KEV status indicate limited observed exploitation but still requires prompt attention given 1232 days since publication.
How an attack unfolds
An attacker supplies a specially crafted non-system HTML document to DOMParser::ParseFromSafeString in vulnerable Firefox versions, triggering creation of a duplicate SystemPrincipal that evades intended security checks.
How to fix it
Upgrade Firefox to version 109 or later. For gravitl/netmaker (GIT) update to commit 1621c27c1d176b639e9768b2acad7693e387fd51.
How to confirm the fix worked
Confirm Firefox version is 109 or higher; verify the gravitl/netmaker commit hash 1621c27c1d176b639e9768b2acad7693e387fd51 is deployed and test that DOMParser parsing no longer produces duplicate principals.
Typical attack path
- Deliver malicious HTML via web page or file
- Trigger parsing through DOMParser::ParseFromSafeString
- Exploit duplicate SystemPrincipal to bypass checks
- Perform actions that should have been blocked
How to detect it
Review browser logs and crash reports for anomalies around DOMParser usage; check for unexpected principal handling artifacts in memory dumps or audit trails from affected versions.
What your security team should do
- Prioritize patching Firefox instances to 109+ immediately
- Update gravitl/netmaker to the specified commit across all deployments
- Monitor for any post-patch anomalies in browser security behavior
The record
A duplicate <code>SystemPrincipal</code> object could be created when parsing a non-system html document via <code>DOMParser::ParseFromSafeString</code>. This could have lead to bypassing web security checks. 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