CVE-2023-29401
Apache HTTPd Content-Disposition Header Traversal Vulnerability
Description
The filename parameter of the Context.FileAttachment function is not properly sanitized. A maliciously crafted filename can cause the Content-Disposition header to be sent with an unexpected filename value or otherwise modify the Content-Disposition header. For example, a filename of "setup.bat";x=.txt" will be sent as a file named "setup.bat". If the FileAttachment function is called with names provided by an untrusted source, this may permit an attacker to cause a file to be served with a name different than provided. Maliciously crafted attachment file name can modify the Content-Disposition header.
INFO
Published Date :
June 8, 2023, 9:15 p.m.
Last Modified :
Jan. 6, 2025, 8:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2023-29401 has a 1 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-29401
.
URL | Resource |
---|---|
https://github.com/gin-gonic/gin/issues/3555 | Exploit Issue Tracking |
https://github.com/gin-gonic/gin/pull/3556 | Issue Tracking Patch |
https://github.com/gin-gonic/gin/releases/tag/v1.9.1 | Release Notes |
https://pkg.go.dev/vuln/GO-2023-1737 | Third Party Advisory |
https://github.com/gin-gonic/gin/issues/3555 | Exploit Issue Tracking |
https://github.com/gin-gonic/gin/pull/3556 | Issue Tracking Patch |
https://github.com/gin-gonic/gin/releases/tag/v1.9.1 | Release Notes |
https://pkg.go.dev/vuln/GO-2023-1737 | Third Party Advisory |
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
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-29401
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-29401
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 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jan. 06, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/gin-gonic/gin/issues/3555 Added Reference https://github.com/gin-gonic/gin/pull/3556 Added Reference https://github.com/gin-gonic/gin/releases/tag/v1.9.1 Added Reference https://pkg.go.dev/vuln/GO-2023-1737 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jun. 16, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N Changed Reference Type https://github.com/gin-gonic/gin/issues/3555 No Types Assigned https://github.com/gin-gonic/gin/issues/3555 Exploit, Issue Tracking Changed Reference Type https://github.com/gin-gonic/gin/pull/3556 No Types Assigned https://github.com/gin-gonic/gin/pull/3556 Issue Tracking, Patch Changed Reference Type https://github.com/gin-gonic/gin/releases/tag/v1.9.1 No Types Assigned https://github.com/gin-gonic/gin/releases/tag/v1.9.1 Release Notes Changed Reference Type https://pkg.go.dev/vuln/GO-2023-1737 No Types Assigned https://pkg.go.dev/vuln/GO-2023-1737 Third Party Advisory Added CWE NIST CWE-494 Added CPE Configuration OR *cpe:2.3:a:gin-gonic:gin:*:*:*:*:*:*:*:* versions from (including) 1.3.1-0.20190301021747-ccb9e902956d up to (excluding) 1.9.1
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-29401
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-29401
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.33 }} 0.20%
score
0.55167
percentile