CVE-2023-38546
Libcurl Cookie File Path Injection
Description
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.
INFO
Published Date :
Oct. 18, 2023, 4:15 a.m.
Last Modified :
July 9, 2024, 2:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
2.2
Public PoC/Exploit Available at Github
CVE-2023-38546 has a 6 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-38546
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Go
Docker image with installed Go and Python made for checking student works at DevOps course
Python Dockerfile Shell
None
asp-net-core csharp docker dockerfile javascript react webapi docker-compose
C# Dockerfile HTML JavaScript CSS
None
Dockerfile Python
Using the IIH Essentials Development Kit you can develop apps based on the IIH Essential and integrate them into Siemens Industrial Edge.
industrial-edge iih-essentials iih-essentials-development-kit
HTML
None
Shell Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-38546
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-38546
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jul. 09, 2024
Action Type Old Value New Value Added Reference HackerOne https://forum.vmssoftware.com/viewtopic.php?f=8&t=8868 [No types assigned] -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jan. 26, 2024
Action Type Old Value New Value Added Reference HackerOne http://seclists.org/fulldisclosure/2024/Jan/34 [No types assigned] Added Reference HackerOne http://seclists.org/fulldisclosure/2024/Jan/37 [No types assigned] Added Reference HackerOne http://seclists.org/fulldisclosure/2024/Jan/38 [No types assigned] -
CVE Modified by [email protected]
Jan. 23, 2024
Action Type Old Value New Value Added Reference HackerOne https://support.apple.com/kb/HT214036 [No types assigned] -
CVE Modified by [email protected]
Jan. 22, 2024
Action Type Old Value New Value Added Reference HackerOne https://support.apple.com/kb/HT214063 [No types assigned] Added Reference HackerOne https://support.apple.com/kb/HT214057 [No types assigned] Added Reference HackerOne https://support.apple.com/kb/HT214058 [No types assigned] -
CVE Modified by [email protected]
Oct. 28, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/OGMXNRNSJ4ETDK6FRNU3J7SABXPWCHSQ/ [No Types Assigned] -
Initial Analysis by [email protected]
Oct. 25, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N Changed Reference Type https://curl.se/docs/CVE-2023-38546.html No Types Assigned https://curl.se/docs/CVE-2023-38546.html Patch, Third Party Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:* versions from (including) 7.9.1 up to (excluding) 8.4.0
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-38546
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-38546
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.13 }} 0.01%
score
0.49784
percentile