PT-2023-23000 · Espv2 · Espv2
Panagiotisvasilikos
·
Published
2023-04-26
·
Updated
2026-04-10
·
CVE-2023-30845
CVSS v3.1
8.2
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
ESPv2 versions 2.20.0 through 2.42.0
Description
The issue allows API clients to bypass JWT authentication by crafting a malicious
X-HTTP-Method-Override header value under specific conditions. This occurs when the requested HTTP method is not in the API service definition, and the specified X-HTTP-Method-Override is a valid HTTP method in the API service definition. As a result, ESPv2 will forward the request to the backend without checking the JWT, enabling attackers to bypass authentication. Restricting API access with API keys is not affected by this issue.Recommendations
Upgrade deployments to release v2.43.0 or higher to receive a patch, ensuring JWT authentication occurs even when the caller specifies
x-http-method-override.
As a temporary workaround, consider restricting the use of the X-HTTP-Method-Override header until the patch is applied.Exploit
Fix
Improper Authentication
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Espv2