CVE-2023-46218
Last modified
CVE-2023-46218 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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). EPSS estimates a 1.69% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Haxx | Curl | >= 7.46.0, <= 8.4.0 |
| Fedoraproject | Fedora | 39 |
References
- https://curl.se/docs/CVE-2023-46218.htmlPatch, Vendor Advisory
- https://hackerone.com/reports/2212193Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3ZX3VW67N4ACRAPMV2QS2LVYGD7H2MVE/Mailing List, Third Party Advisory
- https://curl.se/docs/CVE-2023-46218.htmlPatch, Vendor Advisory
- https://hackerone.com/reports/2212193Exploit, Issue Tracking, Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3ZX3VW67N4ACRAPMV2QS2LVYGD7H2MVE/Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-46218?
How severe is CVE-2023-46218?
How do I fix CVE-2023-46218?
Are you affected by CVE-2023-46218?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
