Vulnerability in Apache Apisix
CVE-2022-24112
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 · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.961 (99.9th percentile), scored .
Very high probability of exploitation in the next 30 days — among the top 0.1% most-likely-to-be-exploited CVEs. 100th percentile — 99.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.961 · newest: 0.961 · change: 0.000
Affected products
- Apache Apisix
- Apache Software Foundation Apisix — versions Apache APISIX 2.12, Apache APISIX 2.10, 1.3
Weakness classification (CWE)
CISA KEV (Known Exploited Vulnerabilities)
This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.
BOD 22-01 due date: .
Required action: Apply updates per vendor instructions.
Public proof-of-concept exploits
References
- lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94 (Mailing List, Mitigation, Vendor Advisory)
- www.openwall.com/lists/oss-security/2022/02/11/3 (mailing-list, Mailing List, Third Party Advisory, Mitigation)
- packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.html (Exploit, VDB Entry, Third Party Advisory)
- packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution… (Exploit, VDB Entry, Third Party Advisory)
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Third Party Advisory, US Government Resource)
Frequently asked questions
- What is CVE-2022-24112?
- CVE-2022-24112 is a critical-severity vulnerability in Apache Apisix, classified under Authentication Bypass by Spoofing. CVSS score: 9.8/10. Published 2022-02-11.
- How severe is CVE-2022-24112?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-24112 known to be exploited?
- Yes. CVE-2022-24112 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2022-08-25), indicating it is being actively exploited. 50 public proof-of-concept repositories are indexed.