⚠ Actively exploited
Added to CISA KEV on 2022-08-25. Federal agencies required to patch by 2022-09-15. Required action: Apply updates per vendor instructions..

CVE-2022-24112Authentication Bypass by Spoofing in Software Foundation Apache Apisix

Severity
9.8CRITICALNVD
EPSS
94.4%
top 0.01%
CISA KEV
KEV
Added 2022-08-25
Due 2022-09-15
Exploit
Exploited in wild
Active exploitation observed
Timeline
PublishedFeb 11
KEV addedAug 25
KEV dueSep 15
CISA Required Action: Apply updates per vendor instructions.

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages2 packages

NVDapache/apisix2.11.02.12.1+1
CVEListV5apache_software_foundation/apache_apisixApache APISIX 2.122.12.1+2

🔴Vulnerability Details

3
GHSA
GHSA-2vc7-6w39-6rh2: An attacker can abuse the batch-requests plugin to send requests to bypass the IP restriction of Admin API2022-02-12
CVEList
apisix/batch-requests plugin allows overwriting the X-REAL-IP header2022-02-11
VulnCheck
Apache APISIX Authentication Bypass Vulnerability2022

💥Exploits & PoCs

2
Exploit-DB
Apache APISIX 2.12.1 - Remote Code Execution (RCE)2022-03-16
Nuclei
Apache APISIX - Remote Code Execution

🔍Detection Rules

2
Suricata
ET EXPLOIT Apache APISIX Admin API Authentication Bypass (CVE-2022-24112) M12022-02-22
Suricata
ET EXPLOIT Apache APISIX Admin API Authentication Bypass (CVE-2022-24112) M22022-02-22

📋Vendor Advisories

1
CISA
Apache APISIX Authentication Bypass Vulnerability2022-08-25
CVE-2022-24112 — Authentication Bypass by Spoofing | cvebase