gin-gonic gin up to 1.8.x Request X-Forwarded-Prefix input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.9 | $0-$5k | 0.00 |
Summary
A vulnerability was found in gin-gonic gin up to 1.8.x and classified as problematic. Impacted is an unknown function of the component Request Handler. Executing a manipulation of the argument X-Forwarded-Prefix can lead to input validation. This vulnerability is registered as CVE-2023-26125. It is possible to launch the attack remotely. No exploit is available. It is suggested to upgrade the affected component.
Details
A vulnerability classified as problematic was found in gin-gonic gin up to 1.8.x. This vulnerability affects an unknown code of the component Request Handler. The manipulation of the argument X-Forwarded-Prefix with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was published 05/04/2023. The advisory is shared for download at github.com. This vulnerability was named CVE-2023-26125 since 02/20/2023. There are known technical details, but no exploit is available.
Upgrading to version 1.9.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch fd9f98e70fb4107ee68c783482d231d35e60507b is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Once again VulDB remains the best source for vulnerability data.
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/gin-gonic/gin/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.0VulDB Meta Temp Score: 6.9
VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CNA Base Score: 5.6
CNA Vector (Snyk): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: gin 1.9.0
Patch: fd9f98e70fb4107ee68c783482d231d35e60507b
Timeline
02/20/2023 🔍05/04/2023 🔍
05/04/2023 🔍
05/27/2023 🔍
Sources
Product: github.comAdvisory: fd9f98e70fb4107ee68c783482d231d35e60507b
Status: Confirmed
CVE: CVE-2023-26125 (🔍)
GCVE (CVE): GCVE-0-2023-26125
GCVE (VulDB): GCVE-100-227980
Entry
Created: 05/04/2023 08:31Updated: 05/27/2023 12:54
Changes: 05/04/2023 08:31 (52), 05/27/2023 12:47 (1), 05/27/2023 12:54 (12)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.