CVE-2023-5723
Medium · 5.3CVSS
5.3
EPSS
0.7%
Published
Oct 25, 2023
CISA due date
—
Cloudanix analysis
A web browser flaw could let a malicious site cause unexpected problems by setting a specially crafted cookie, though the risk remains low for most users.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
Improper input validation in cookie handling allows an attacker with temporary script access to set document.cookie values containing invalid characters, resulting in undefined browser behavior and potential integrity impact.
Why it matters to the business
Low-risk exposure for browser users on affected Debian systems; could lead to unexpected application errors or degraded user experience if triggered, with minimal urgency given low EPSS and absence from known exploitation campaigns.
How an attack unfolds
An attacker first gains temporary script execution on a target site, then uses document.cookie to inject a malformed cookie value with invalid characters; the browser fails to sanitize or reject the input, producing unknown errors during subsequent cookie processing.
How to fix it
Upgrade affected Firefox installations on Debian 11 to versions fixed in linux kernel package 5.10.216-1 or later; apply all vendor security updates promptly and verify package versions post-installation.
How to confirm the fix worked
Confirm Firefox version is at or above the fixed release corresponding to linux 5.10.216-1; test cookie-setting behavior with invalid characters to ensure errors no longer occur; review system package manager logs for successful updates.
Typical attack path
- Obtain temporary script access on a victim site via XSS or similar vector
- Construct and assign a cookie via document.cookie containing invalid characters
- Trigger browser cookie handling paths that process the malformed value
- Observe or leverage resulting undefined errors for further impact
How to detect it
Inspect browser logs and cookie storage for malformed entries; review web server or application logs for anomalous cookie-related errors; no widespread exploitation indicators reported to date.
What your security team should do
- Prioritize patching Debian 11 systems running Firefox to the 5.10.216-1 fixed kernel packages
- Monitor for any future EPSS increases or exploitation reports despite current low scores
- Review web application cookie handling code for similar input validation gaps
The record
An attacker with temporary script access to a site could have set a cookie containing invalid characters using `document.cookie` that could have led to unknown errors. This vulnerability affects Firefox < 119.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| SUSE:Enterprise Storage 7.1 | MozillaFirefox | 0 | 115.4.0-150200.152.114.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | MozillaFirefox | 0 | 115.4.0-150000.150.113.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | MozillaFirefox | 0 | 115.4.0-150200.152.114.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | MozillaFirefox | 0 | 115.4.0-150200.152.114.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | MozillaFirefox | 0 | 115.4.0-150200.152.114.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 | MozillaFirefox | 0 | 115.4.0-150200.152.114.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP5 | MozillaFirefox | 0 | 115.4.0-150200.152.114.1 |
| SUSE:Linux Enterprise Server 12 SP5 | MozillaFirefox | 0 | 115.4.0-112.188.1 |
| SUSE:Linux Enterprise Server 15 SP1-LTSS | MozillaFirefox | 0 | 115.4.0-150000.150.113.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | MozillaFirefox | 0 | 115.4.0-150200.152.114.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | MozillaFirefox | 0 | 115.4.0-150200.152.114.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | MozillaFirefox | 0 | 115.4.0-112.188.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | MozillaFirefox | 0 | 115.4.0-150000.150.113.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | MozillaFirefox | 0 | 115.4.0-150200.152.114.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | MozillaFirefox | 0 | 115.4.0-150200.152.114.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | MozillaFirefox | 0 | 115.4.0-112.188.1 |
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | firefox | 0 | 119.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 | mozjs102 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs91 | 0 | No fix |
| Ubuntu:24.04:LTS | mozjs102 | 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 |
| Ubuntu:Pro:24.04:LTS | mozjs102 | 0 | No fix |
| openSUSE:Leap 15.4 | MozillaFirefox | 0 | 115.4.0-150200.152.114.1 |
| openSUSE:Leap 15.5 | MozillaFirefox | 0 | 115.4.0-150200.152.114.1 |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 119.0-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2025-14331 Same-origin policy bypass in the Request Handling component. Also affects MozillaFirefox
- CVE-2025-14325 JIT miscompilation in the JavaScript Engine: JIT component. Also affects MozillaFirefox
- CVE-2025-14330 JIT miscompilation in the JavaScript Engine: JIT component. Also affects MozillaFirefox
- CVE-2025-14333 Memory safety bugs present in Firefox ESR 140.5, Thunderbird ESR 140.5, Firefox 145 and… Also affects MozillaFirefox
- CVE-2025-14328 Privilege escalation in the Netmonitor component. Also affects MozillaFirefox
- CVE-2025-14329 Privilege escalation in the Netmonitor component. Also affects MozillaFirefox
- CVE-2025-14323 Privilege escalation in the DOM: Notifications component. Also affects MozillaFirefox
- CVE-2025-14321 Use-after-free in the WebRTC: Signaling component. Also affects MozillaFirefox