Vulnerability Details : CVE-2023-38546
This flaw allows an attacker to insert cookies at will into a running program
using libcurl, if the specific series of conditions are met.
libcurl performs transfers. In its API, an application creates "easy handles"
that are the individual handles for single transfers.
libcurl provides a function call that duplicates en easy handle called
[curl_easy_duphandle](https://curl.se/libcurl/c/curl_easy_duphandle.html).
If a transfer has cookies enabled when the handle is duplicated, the
cookie-enable state is also cloned - but without cloning the actual
cookies. If the source handle did not read any cookies from a specific file on
disk, the cloned version of the handle would instead store the file name as
`none` (using the four ASCII letters, no quotes).
Subsequent use of the cloned handle that does not explicitly set a source to
load cookies from would then inadvertently load cookies from a file named
`none` - if such a file exists and is readable in the current directory of the
program using libcurl. And if using the correct file format of course.
Products affected by CVE-2023-38546
- cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-38546
1.72%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 81 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-38546
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.7
|
LOW | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
2.2
|
1.4
|
NIST | |
5.0
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
N/A
|
N/A
|
RedHat-CVE-2023-38546 |
References for CVE-2023-38546
-
http://seclists.org/fulldisclosure/2024/Jan/38
Full Disclosure: APPLE-SA-01-22-2024-7 macOS Monterey 12.7.3
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/
[SECURITY] Fedora 37 Update: curl-7.85.0-12.fc37 - package-announce - Fedora Mailing-Lists
-
http://seclists.org/fulldisclosure/2024/Jan/37
Full Disclosure: APPLE-SA-01-22-2024-6 macOS Ventura 13.6.4
-
https://curl.se/docs/CVE-2023-38546.html
curl - cookie injection with none file - CVE-2023-38546Patch;Third Party Advisory
-
https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868
Updates for curl? (CVE-2023-38545 & CVE-2023-38546) - VSI OpenVMS Forum
-
https://support.apple.com/kb/HT214057
About the security content of macOS Monterey 12.7.3 - Apple Support
-
http://seclists.org/fulldisclosure/2024/Jan/34
Full Disclosure: APPLE-SA-01-22-2024-3 iOS 16.7.5 and iPadOS 16.7.5
-
https://support.apple.com/kb/HT214036
About the security content of macOS Sonoma 14.2 - Apple Support
-
https://support.apple.com/kb/HT214063
About the security content of iOS 16.7.5 and iPadOS 16.7.5 - Apple Support
-
https://support.apple.com/kb/HT214058
About the security content of macOS Ventura 13.6.4 - Apple Support
Jump to