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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published: 2022-02-11T12:20:13

Updated: 2024-08-03T03:59:23.660Z

Reserved: 2022-01-28T00:00:00

Link: CVE-2022-24112

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-02-11T13:15:08.073

Modified: 2024-11-21T06:49:49.803

Link: CVE-2022-24112

cve-icon Redhat

No data.