Stackurity Start free trial

CVEs / CVE-2022-24112

CVE-2022-24112: Apache APISIX Authentication Bypass Vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2022-24112

Summary

Apache APISIX contains an authentication bypass vulnerability that allows for remote code execution.

CISA, Known Exploited Vulnerabilities catalog

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.

The CVE record, via NVD · published 11 Feb 2022 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Apache Software Foundation Apache APISIXfrom Apache APISIX 2.12, before 2.12.12.12.1
Apache Software Foundation Apache APISIXfrom Apache APISIX 2.10, before 2.10.42.10.4
Apache Software Foundation Apache APISIXfrom 1.3, before Apache APISIX 1*Apache APISIX 1*

Exploitation

In CISA KEV since25 Aug 2022
Due date for US federal agencies15 Sep 2022
Used in ransomware campaignsUnknown
Required actionApply updates per vendor instructions.

Severity

CVSS 3.19.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-290

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.