PT-2023-20505 · Gin Gonic+1 · Gin+1

T0Rchwo0D

·

Published

2023-05-04

·

Updated

2023-06-09

·

CVE-2023-26125

CVSS v3.1

7.3

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions github.com/gin-gonic/gin versions prior to 1.9.0
Description The issue is related to Improper Input Validation, allowing an attacker to use a specially crafted request via the X-Forwarded-Prefix header, potentially leading to cache poisoning. Although this issue does not pose a significant threat on its own, it can serve as an input vector for other more impactful vulnerabilities. Successful exploitation may depend on the server configuration and whether the header is used in the application logic.
Recommendations For versions prior to 1.9.0, update to version 1.9.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of the X-Forwarded-Prefix header in the application logic to minimize the risk of exploitation.

Exploit

Fix

Command Injection

RCE

Weakness Enumeration

Related Identifiers

CVE-2023-26125
GHSA-3VP4-M3RF-835H

Affected Products

Debian
Gin