[ CVE-2022-24112 · Published 11 Feb 2022 ]
Apache APISIX Authentication Bypass Vulnerability
[ Why it matters ]Priority signals
- Exploited in the wild: on CISA's Known Exploited Vulnerabilities list since 2022-08-25
- EPSS: 96% chance of exploitation in the next 30 days (higher than 100% of CVEs)
- Critical severity: CVSS 9.8
[ Description ]Official 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.
CISA: Apache APISIX contains an authentication bypass vulnerability that allows for remote code execution.
[ Fixes ]Fixes and patches
CISA required action (US federal deadline 15 Sep 2022): Apply updates per vendor instructions.
No fix or interim patch is linked from our sources yet. Check the vendor references below and limit exposure of affected systems until a fix is available.
[ References ]References
- packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- www.openwall.com/lists/oss-security/2022/02/11/3Mailing ListMitigationThird Party Advisory
- lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94Mailing ListMitigationVendor Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalogThird Party AdvisoryUS Government Resource