CVE-2022-24112
highpriority · act · 90OT risk · criticalKEV · exploitedEPSS 0.961 · 100 %ileexploit · weaponizedEURUUSadded 2022-08-25remediate by 2022-09-15
required action Apply updates per vendor instructions.
EPSS · scored 2026-10-27
Apache 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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (11)
Public proof-of-concept and weaponised exploit code.
- EDB-50829Apache APISIX 2.12.1 - Remote Code Execution (RCE)PoC · exploit_db
- Acczdy/CVE-2022-24112_POCCVE-2022-24112_POCPoC · poc_in_github
- CrackerCat/CVE-2022-24112Apache APISIX apisix/batch-requests RCEPoC · poc_in_github
affected products (9)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- BIT-apisix-2022-24112apisix/batch-requests plugin allows overwriting the X-REAL-IP header2024-03-06vendor · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (18)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2022/02/11/3cnnvd
- https://cxsecurity.com/issue/WLB-2022030040cnnvd
- https://cxsecurity.com/issue/WLB-2022030068cnnvd
- https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2022-24112cnnvd
- https://packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.htmlcnnvd
- https://packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.htmlcnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022021408cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan