CVE-2022-24112
Apache APISIX Authentication Bypass Vulnerability
- Actively exploited
- Critical · 9.8 of 10
- Exploited since
- 25 Aug 2022 added to the CISA list
- Chance of attacks
- 96% in the next 30 days (FIRST EPSS)
- Fix deadline
- 15 Sep 2022 for US federal agencies
- Published
- 11 Feb 2022 in the NVD
What this means
Apache APISIX contains an authentication bypass vulnerability that allows for remote code execution.
CISA
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.
NIST National Vulnerability Database
What to do
Apply updates per vendor instructions.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- Apache Software Foundation Apache APISIX
Official sources
- nvd.nist.gov/vuln/detail/CVE-2022-24112
- lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94 vendor advisory
- lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94 vendor advisory
- packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.html
- packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.html
- openwall.com/lists/oss-security/2022/02/11/3
- packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.html
- packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.html
- openwall.com/lists/oss-security/2022/02/11/3
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.