CVE-2022-24112
Apache APISIX contains an authentication bypass vulnerability that allows for remote code execution.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.htmlExploitThird Party Advisory
- packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.htmlExploitThird Party Advisory
- openwall.com/lists/oss-security/2022/02/11/3Mailing ListMitigation
- lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94Mailing ListMitigation
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24112Third Party AdvisoryUS Government Resource
Actively exploited. Patch immediately.
- Exploitation
- Confirmed in the wild (CISA KEV)
- Federal remediation deadline
- Overdue by 1503 days
- CVSS
- 9.8 CRITICAL
- EPSS (30-day exploit probability)
- 96.1% · top 1% of all CVEs
- Weakness
- CWE-290
- Attack vector
- Network, remotely reachable
- Preconditions
- No privileges and no user interaction
- 1.Apply updates per vendor instructions.
- 2.Treat as emergency change: patch or isolate internet-facing instances first.
- 3.Review exposure: confirm which instances are reachable from the internet and restrict access until patched.
- 4.Hunt for compromise: review logs for the disclosure window, not just from the patch date.
Assessment is derived automatically from the live signals above; verify against your own asset inventory.