CVE-2022-24112
CRITICAL 9.8CVSS 3.1known exploitedApache APISIX Authentication Bypass Vulnerability
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.
- Published
- 11 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-290
- Sources
- NVDJSONCISA KEVJSON
In CISA's Known Exploited Vulnerabilities catalog since 25 Aug 2022; US federal agencies must fix it by 15 Sep 2022.
Apply updates per vendor instructions.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | apisixcpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:* |
< 2.10.4 | 2.10.4 |
| NVD | apache | apisixcpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:* |
>= 2.11.0, < 2.12.1 | 2.12.1 |
References
- http://packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2022/02/11/3 · Mailing List, Mitigation, Third Party Advisory
- https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94 · Mailing List, Mitigation, Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24112 · Third Party Advisory, US Government Resource
- https://nvd.nist.gov/vuln/detail/CVE-2022-24112
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Feb 2022)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 25 Aug 2022)
- 25 Aug 2022 00:00 UTC · Listed as known exploited