CVE Catalog

Actively exploited in the wild

Apache APISIX Authentication Bypass Vulnerability

Apache - APISIX · Listed in the CISA KEV since 2022-08-25. This indicates confirmed attacks in production environments.

Required action: Apply updates per vendor instructions.

CVE-2022-24112

CriticalCVSS 9.8KEV
Published: Updated: Translated: NVD NIST

Summary

In Apache APISIX, an attacker can abuse the batch-requests plugin to bypass the IP restriction of the Admin API. A default configuration (with default API key) is vulnerable to remote code execution; even after changing the admin key or port, there is still a risk of bypassing the IP restriction of the data panel due to a bug in the client IP check.

Risk Assessment

An attacker can gain unauthorized access to the administrative API and execute arbitrary code, taking control of the API gateway. Even after changing default settings, the risk of bypassing IP restrictions remains.

Recommendation

Update Apache APISIX to a patched version. Change the default API key, restrict Admin API access to trusted networks, and consider disabling the batch-requests plugin if not needed.

Other vulnerabilities in Apache APISIX

See all
Original NVD description (English source)

An attacker can abuse the batch-requests plugin to send requests to bypass the IP restriction of Admin API. A default configuration of Apache APISIX (with default API key) is vulnerable to remote code execution. When the admin key was changed or the port of Admin API was changed to a port different from the data panel, the impact is lower. But there is still a risk to bypass the IP restriction of Apache APISIX's data panel. There is a check in the batch-requests plugin which overrides the client IP with its real remote IP. But due to a bug in the code, this check can be bypassed.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS