PT-2026-83123 · Unknown · Grpc-Gateway
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
grpc-gateway version 2.28.0
Description
Incorrect Access Control occurs because the application processes the
X-HTTP-Method-Override header in the ServeMux.ServeHTTP() function without restricting allowed methods. When a POST request with Content-Type set to application/x-www-form-urlencoded includes this header, the request method is rewritten to an arbitrary value provided by the attacker before routing. This behavior enables the bypass of method-based access controls enforced by Web Application Firewalls (WAFs) or upstream proxies.Recommendations
Update grpc-gateway version 2.28.0 to a newer version that contains a fix for this issue.
As a temporary mitigation, restrict or filter the
X-HTTP-Method-Override header at the proxy or WAF level before it reaches the application.Exploit
Fix
IDOR
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Grpc-Gateway