CVE-2022-24112 in Apache Apisix
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 pan...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Apisix | < 2.10.4 ≥ 2.11.0, < 2.12.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Yes added 2022-08-25 |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-24112 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-255650-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-02-11 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-290: CWE-290
Related attack patterns (CAPEC)
CAPEC-59 Session Credential Falsification through Prediction via CWE-290
CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-290
CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-290
CAPEC-476 Signature Spoofing by Misrepresentation via CWE-290
CAPEC-667 Bluetooth Impersonation AttackS (BIAS) via CWE-290
Show all 10
CAPEC-461 Web Services API Signature Forgery Leveraging Hash Function Extension Weakness via CWE-290
CAPEC-473 Signature Spoof via CWE-290
CAPEC-21 Exploitation of Trusted Identifiers via CWE-290
CAPEC-22 Exploiting Trust in Client via CWE-290
CAPEC-94 Adversary in the Middle (AiTM) via CWE-290
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2022-24112 allows an attacker to bypass IP restrictions on the Admin API of Apache APISIX, potentially leading to remote code execution. The vulnerability affects the default configuration and can be exploited if the admin key or port settings are not modified.
The vulnerability exists in the batch-requests plugin of Apache APISIX. An attacker can send specially crafted batch requests to bypass the IP restriction checks, allowing them to access the Admin API and potentially execute arbitrary code. This can lead to full control over the affected system.
Compensating controls AI-drafted, review before use
Implement strict IP whitelisting for the Admin API and ensure that the admin key and port configurations are not using default values. Regularly monitor logs for suspicious activity.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2022-24112?
CVE-2022-24112 allows an attacker to bypass IP restrictions on the Admin API of Apache APISIX, potentially leading to remote code execution. The vulnerability affects the default configuration and can be exploited if the admin key or port settings are not modified.
What is the CVSS score for CVE-2022-24112?
CVE-2022-24112 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 95.4%.
Is CVE-2022-24112 actively exploited?
Yes. CVE-2022-24112 is in the CISA known-exploited catalog (added 2022-08-25). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2022-24112?
Priority: IMMEDIATE. Advisory: https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94
What systems are affected by CVE-2022-24112?
CVE-2022-24112 affects Apache Apisix.
What NERC-CIP standard applies to CVE-2022-24112?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 as it allows unauthorized access to the control system, which could compromise the integrity and availability of critical assets.
What IEC 62443 requirement maps to CVE-2022-24112?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited to gain unauthorized access to the system, which is a critical security concern in ICS environments.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Apisix","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.