CVE-2022-24112
Summary
| CVE | CVE-2022-24112 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-02-11 13:15:00 UTC |
| Updated | 2022-05-11 14:58:00 UTC |
| 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. |
Risk And Classification
EPSS: 0.944390000 probability, percentile 0.999880000 (date 2026-04-01)
CISA KEV: Listed on 2022-08-25; due 2022-09-15; ransomware use Unknown
Problem Types: CWE-290
CISA Known Exploited Vulnerability
| Vendor | Apache |
|---|---|
| Product | APISIX |
| Name | Apache APISIX Authentication Bypass Vulnerability |
| Required Action | Apply updates per vendor instructions. |
| Notes | https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94; https://nvd.nist.gov/vuln/detail/CVE-2022-24112 |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Apache APISIX 2.12.1 Remote Code Execution ≈ Packet Storm | MISC | packetstormsecurity.com | |
| oss-security - CVE-2022-24112: Apache APISIX: apisix/batch-requests plugin allows overwriting the X-REAL-IP header | MLIST | www.openwall.com | |
| Apache APISIX Remote Code Execution ≈ Packet Storm | MISC | packetstormsecurity.com | |
| lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94 | MISC | lists.apache.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
| CISA Known Exploited Vulnerabilities catalog | CISA | www.cisa.gov | kev |
Vendor Comments And Credit
Discovery Credit
LEGACY: Original discovery by Real World CTF at Chaitin Tech. Reported by Sauercloud.
Legacy QID Mappings
- 730361 Apache Apisix Batch-Requests Plugin Remote Code Execution (RCE) Vulnerability