CVE-2022-24112
Last modified
CVE-2022-24112 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. CISA has confirmed active exploitation in the wild. EPSS estimates a 96.18% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitation Status
This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Apisix | < 2.10.4 |
| Apache | Apisix | >= 2.11.0, < 2.12.1 |
References
- http://packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2022/02/11/3Mailing List, Mitigation, Third Party Advisory
- https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94Mailing List, Mitigation, Vendor Advisory
- http://packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2022/02/11/3Mailing List, Mitigation, Third Party Advisory
- https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94Mailing List, Mitigation, Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24112Third Party Advisory, US Government Resource
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-24112?
How severe is CVE-2022-24112?
How do I fix CVE-2022-24112?
Are you affected by CVE-2022-24112?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
