Known exploited vulnerability
CVE-2022-24112
The short answer
CVE-2022-24112 affects Apache Software Foundation Apache APISIX and is rated critical (CVSS 9.8). CISA added it to the Known Exploited Vulnerabilities catalog on 2022-08-25: attackers are using it, so patch it first.
What it is
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.
Weakness: CWE-290.
Severity
9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploited (CISA KEV)
Yes, since Aug 25, 2022
Federal due date Sep 15, 2022
EPSS, next 30 days
96%
Higher than 100% of scored CVEs
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
What CISA says to do
Apply updates per vendor instructions.
Affected products
Apache APISIX. NVD's record lists the exact affected versions.
References
- lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94 Mailing ListMitigationVendor Advisory
- lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94 Mailing ListMitigationVendor Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24112 Third Party AdvisoryUS Government Resource
Questions
Is CVE-2022-24112 being exploited?
Yes. CISA added CVE-2022-24112 to its Known Exploited Vulnerabilities catalog on 2022-08-25, with a federal remediation due date of 2022-09-15.
How do I fix CVE-2022-24112?
CISA's required action: Apply updates per vendor instructions.
From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.
Related
Latest CVEs this week
Critical and High CVEs from the last 7 days, with KEV and EPSS.
Exploited vulnerabilities by vendor
Every vendor in CISA's KEV catalog, with its count.
Apache exploited vulnerabilities
Everything CISA lists as exploited for Apache.
Vulnerability watch
A briefing and a fix pull request when an advisory hits your dependencies.
Know the day a CVE lands in your code
Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.