CVE-2023-46218: Curl - CORS Misconfiguration
- Cve: CVE-2023-46218
- Name: Curl - CORS Misconfiguration
- 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 `curl.co.uk`, even though `co.uk` is listed as a PSL domain.
- Impact: Attackers can set cookies that are sent to unrelated domains, potentially leading to privacy breaches and cross-site tracking.
- Remediation: Update curl to the latest version where this issue is fixed.
- Vulnerability type: cors_misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Epss score: 0.01685
- Epss percentile: 0.77489
- Assignee: [email protected]
- Published at: 2023-12-07T01:15:07Z
- Age in days: 1083
- Modified at: 2026-06-17T06:30:22Z
- Patch available: yes
- Public exploits total: 1
- References total: 11
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-46218
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
| CWE-178 | Improper Handling of Case Sensitivity |
Hackerone
- Reports: 2
- Rank: 3806
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://hackerone.com/reports/2212193 | nvd | 2023-12-07 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| haxx:curl | >= 7.46.0, <= 8.4.0 | no | nvd | /v1/products/haxx/curl |
| fedoraproject:fedora | = 39 | no | nvd | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| curl/curl | fix | yes | /v1/repositories/curl/curl |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-12-07
- Remote: yes
- Hackerone reports: 2
- Exposed hosts: 49161
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since