apisix/batch-requests plugin allows overwriting the X-REAL-IP header
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Listed in CISA KEV
- Fix
- Fixed in 2.12.1, 2.10.4, Apache APISIX 1*
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The batch-requests plugin in Apache APISIX, an open-source API gateway, is affected. An attacker can exploit a flaw in it to bypass IP restrictions on the Admin API, which in a default configuration can lead to remote code execution, and it can also bypass IP restrictions on the data plane.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.
Timeline
- CVE published
- Added to CISA KEV
CISA has evidence of exploitation in the wild
- CISA remediation deadline
Due date for US federal agencies to patch
- Record last updated
- EPSS reached 10%
FIRST estimates at least a 10% chance of exploitation in the next 30 days
Affected versions
- Apache Software Foundation Apache APISIX
From Apache APISIX 2.12 · fixed in 2.12.1; From Apache APISIX 2.10 · fixed in 2.10.4; From 1.3 · fixed in Apache APISIX 1*