CVE-2022-24112

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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
96.069%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-08-25
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 1

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameApache APISIX Authentication Bypass Vulnerability
Vendor / productApache / APISIX
Date added2022-08-25
Federal remediation due date2022-09-15
Required actionApply updates per vendor instructions.
Known ransomware campaign useUnknown

CISA SSVC decision points

Exploitationactive
Automatableyes
Technical impacttotal
Scored2025-01-29

Timeline

  1. 2022-02-11Published by the CNA12:20 UTC
  2. 2022-03-16First Exploit-DB entry (EDB-ID 50829)33 days after publication
  3. 2022-08-25Added to the CISA KEV catalog195 days after publication
  4. 2025-01-29CISA SSVC decision recorded1083 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 50829remotemultiple2022-03-16no

Nuclei templates:

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
apache apisixbefore 2.10.4fixed in 2.10.4from 2.11.0 before 2.12.1fixed in 2.12.12.10.42.12.1

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources