CVE-2023-26125
Gin Gin Improper Input Validation Cache Poisoning
Description
Versions of the package github.com/gin-gonic/gin before 1.9.0 are vulnerable to Improper Input Validation by allowing an attacker to use a specially crafted request via the X-Forwarded-Prefix header, potentially leading to cache poisoning. **Note:** Although this issue does not pose a significant threat on its own it can serve as an input vector for other more impactful vulnerabilities. However, successful exploitation may depend on the server configuration and whether the header is used in the application logic.
INFO
Published Date :
May 4, 2023, 5:15 a.m.
Last Modified :
Jan. 29, 2025, 5:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.4
Exploitability Score :
3.9
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-26125
.
URL | Resource |
---|---|
https://github.com/gin-gonic/gin/pull/3500 | Exploit Patch |
https://github.com/gin-gonic/gin/pull/3503 | Issue Tracking Patch |
https://github.com/gin-gonic/gin/releases/tag/v1.9.0 | Release Notes |
https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b | Patch |
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 | Exploit Patch Third Party Advisory |
https://github.com/gin-gonic/gin/pull/3500 | Exploit Patch |
https://github.com/gin-gonic/gin/pull/3503 | Issue Tracking Patch |
https://github.com/gin-gonic/gin/releases/tag/v1.9.0 | Release Notes |
https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b | Patch |
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 | Exploit Patch 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).
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-26125
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-26125
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. 29, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L Added CWE CWE-77 -
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/pull/3500 Added Reference https://github.com/gin-gonic/gin/pull/3503 Added Reference https://github.com/gin-gonic/gin/releases/tag/v1.9.0 Added Reference https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b Added Reference https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added CWE Snyk CWE-20 -
Reanalysis by [email protected]
Jun. 09, 2023
Action Type Old Value New Value Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L -
Initial Analysis by [email protected]
May. 10, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/gin-gonic/gin/pull/3500 No Types Assigned https://github.com/gin-gonic/gin/pull/3500 Exploit, Patch Changed Reference Type https://github.com/gin-gonic/gin/pull/3503 No Types Assigned https://github.com/gin-gonic/gin/pull/3503 Issue Tracking, Patch Changed Reference Type https://github.com/gin-gonic/gin/releases/tag/v1.9.0 No Types Assigned https://github.com/gin-gonic/gin/releases/tag/v1.9.0 Release Notes Changed Reference Type https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b No Types Assigned https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b Patch Changed Reference Type https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 No Types Assigned https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285 Exploit, Patch, Third Party Advisory Added CWE NIST CWE-20 Added CPE Configuration OR *cpe:2.3:a:gin-gonic:gin:*:*:*:*:*:*:*:* versions up to (excluding) 1.9.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-26125
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-26125
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.09 }} -0.36%
score
0.27490
percentile