CVE-2022-24112: Apache APISIX Authentication Bypass Vulnerability
Vulnerability summary
CVE-2022-24112 is a critical (CVSS 9.8) Authentication Bypass by Spoofing vulnerability in Apache APISIX. It is known to be exploited: CISA lists it, first on 25-08-2022. EPSS estimates a 96.07% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 4 public exploits are recorded.
Timeline
- 11-02-2022PublishedVulnerability first disclosed.
- 25-08-2022Added to CISA KEVApache APISIX Authentication Bypass Vulnerability
- 15-09-2022CISA remediation dueApply updates per vendor instructions.
- 21-10-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
96.07%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
+0.07 pp
From 96.00% on 18-09-2026
Known exploited
Compare KEV catalogs- Added
- 25-08-2022
- Federal due date
- 15-09-2022
CISA required action
Apply updates per vendor instructions. lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94 nvd.nist.gov/vuln/detail/CVE-2022-24112
Public exploits
4 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
Apache APISIX 2.12.1 - Remote Code Execution (RCE)
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Apache1 product
- apisix< 2.10.4 | ≥ 2.11.0, < 2.12.1
Apache software foundation1 product
- apache apisix≥ Apache APISIX 2.12, < 2.12.1 | ≥ Apache APISIX 2.10, < 2.10.4 | ≥ 1.3, < Apache APISIX 1*
2 vendors · 2 products
References
5 links- lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94X Refsource MISCMailing ListMitigationVendor Advisory
- www.openwall.com/lists/oss-security/2022/02/11/3Mailing ListX Refsource MLISTMitigationThird Party Advisory
- packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24112Government ResourceThird Party AdvisoryUS Government Resource