CVE-2023-46218Improper Handling of Case Sensitivity in Curl

Severity
6.5MEDIUMNVD
EPSS
0.4%
top 39.37%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 7
Latest updateJan 15

Description

This flaw allows a malicious HTTP server to set "super cookies" in curl that are then passed back to more origins than what is otherwise allowed or possible. This allows a site to set cookies that then would get sent to different and unrelated sites and domains. It could do this by exploiting a mixed case flaw in curl's function that verifies a given cookie domain against the Public Suffix List (PSL). For example a cookie could be set with `domain=co.UK` when the URL used a lower case hostname

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitability: 3.9 | Impact: 2.5

Affected Packages5 packages

Alpinehaxx/curl< 8.5.0-r0+8
Debianhaxx/curl< 7.74.0-1.3+deb11u11+3
Ubuntuhaxx/curl< 7.68.0-1ubuntu2.21+1
CVEListV5curl/curl8.4.08.4.0
NVDhaxx/curl7.46.08.4.0

Also affects: Fedora 39

Patches

🔴Vulnerability Details

5
OSV
CVE-2023-46218: This flaw allows a malicious HTTP server to set "super cookies" in curl that are then passed back to more origins than what is otherwise allowed or po2023-12-07
OSV
CVE-2023-46218: This flaw allows a malicious HTTP server to set "super cookies" in curl that are then passed back to more origins than what is otherwise allowed or po2023-12-07
CVEList
CVE-2023-46218: This flaw allows a malicious HTTP server to set "super cookies" in curl that are then passed back to more origins than what is otherwise allowed or po2023-12-07
GHSA
GHSA-59mm-6rr4-j9p2: This flaw allows a malicious HTTP server to set "super cookies" in curl that are then passed back to more origins than what is otherwise allowed or po2023-12-07
OSV
curl vulnerabilities2023-12-06

📋Vendor Advisories

8
Oracle
Oracle Oracle Communications Risk Matrix: Automated Test Suite (curl) — CVE-2023-462182025-01-15
Oracle
Oracle Oracle Communications Applications Risk Matrix: Installation (curl) — CVE-2023-462182024-07-15
Oracle
Oracle Oracle Fusion Middleware Risk Matrix: SSL Module (curl) — CVE-2023-462182024-04-15
Ubuntu
curl vulnerability2024-02-19
Microsoft
This flaw allows a malicious HTTP server to set "super cookies" in curl that are then passed back to more origins than what is otherwise allowed or possible. This allows a site to set cookies that the2023-12-12

💬Community

2
HackerOne
curl cookie mixed case PSL bypass2023-12-22
HackerOne
CVE-2023-46218: cookie mixed case PSL bypass2023-12-06
CVE-2023-46218 — Improper Handling of Case Sensitivity | cvebase