CVE-2024-10295
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by redhat
Exploit likelihood
0.39% (higher than 35% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
gatewayup to 2.14.2CVE List
3scale-amp2/apicast-gateway-rhel8Not specifiedCVE List
redhat 3scale_api_management2.0NVD

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró una falla en Gateway. El envío de una autenticación "básica" que no sea base64 con caracteres especiales puede provocar que APICast autentique incorrectamente una solicitud. Un encabezado de autenticación básica mal formado que contenga caracteres especiales omite la autenticación y permite el acceso no autorizado al backend. Este problema puede ocurrir debido a una falla en el proceso de decodificación base64, que hace que APICast omita el resto de las comprobaciones de autenticación y proceda a enrutar la solicitud en sentido ascendente.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-10295 changed 2026-11-04CVE Terms of Use
NVDCVE-2024-10295 changed 2026-11-04Public domain