CVE-2022-24112

9.8 CRITICAL CISA KEV - Actively Exploited
Published: February 11, 2022 Modified: October 23, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.html
Source: security@apache.org
Exploit Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.html
Source: security@apache.org
Exploit Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2022/02/11/3
Source: security@apache.org
Mailing List Mitigation Third Party Advisory
https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94
Source: security@apache.org
Mailing List Mitigation Vendor Advisory
http://packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.html
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.html
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2022/02/11/3
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Mitigation Third Party Advisory
https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Mitigation Vendor Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24112
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Third Party Advisory US Government Resource

9 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
94.4%
100th percentile
Exploitation Status
Actively Exploited
Remediation due: 2022-09-15

Weaknesses (CWE)

Affected Vendors

apache