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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-46212Missing Authorization, Cross-Site Request Forgery (CSRF) vul…8.8
- CVE-2023-46213In Splunk Enterprise versions below 9.0.7 and 9.1.2, ineffec…4.8
- CVE-2023-46214In Splunk Enterprise versions below 9.0.7 and 9.1.2, Splunk …8.8
- CVE-2023-46215Insertion of Sensitive Information into Log File vulnerabili…7.5
- CVE-2023-46216An attacker sending specially crafted data packets to the Mo…9.8
- CVE-2023-46217An attacker sending specially crafted data packets to the Mo…9.8
- CVE-2023-46219When saving HSTS data to an excessively long file name, curl…5.3
- CVE-2023-4622A use-after-free vulnerability in the Linux kernel's af_unix…7
- CVE-2023-46220An attacker sending specially crafted data packets to the Mo…9.8
- CVE-2023-46221An attacker sending specially crafted data packets to the Mo…9.8
- CVE-2023-46222An attacker sending specially crafted data packets to the Mo…9.8
- CVE-2023-46223An attacker sending specially crafted data packets to the Mo…9.8
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
