7.5High

CVE-2024-10295Gateway: apicast basic auth bypass via malformed base64 headerssending non-base64 'basic' auth with special characters causes apicast to incorrectly authenticate a request

gateway; Red Hat Red Hat 3scale API Management Platform 2 Published: (2 years ago)

Description

A flaw was found in Gateway. Sending a non-base64 'basic' auth with special characters can cause APICast to incorrectly authenticate a request. A malformed basic authentication header containing special characters bypasses authentication and allows unauthorized access to the backend. This issue can occur due to a failure in the base64 decoding process, which causes APICast to skip the rest of the authentication checks and proceed with routing the request upstream.

Weakness (CWE): CWE-863

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
redhat 3scale api management 2.0
Red Hat Red Hat 3scale API Management Platform 2 all versions
— gateway ≤ 2.14.2

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:redhat:3scale_api_management:2.0:*:*:*:*:*:*:*