CVEvulnerability
CVE-2022-24112
CISA Known Exploited Vulnerability
Apache APISIX Authentication Bypass Vulnerability — Apache APISIX
Apache APISIX contains an authentication bypass vulnerability that allows for remote code execution.
- Added to KEV
- 2022-08-25
- Remediation due
- 2022-09-15
- Ransomware use
- Unknown
- Required action
- Apply updates per vendor instructions.
- Notes
- https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94; https://nvd.nist.gov/vuln/detail/CVE-2022-24112
- Status
- Analyzed
- Published
- 2022-02-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-290
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.
Affected configurations
• apache apisix (< 2.10.4)
• apache apisix (>= 2.11.0 < 2.12.1)
Related
Weakness · CWE (1)
- CWE-290 Authentication Bypass by Spoofing weakness
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
- 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