Vulnerability record

CVE-2022-24112

Apache APISIX Authentication Bypass Vulnerability

Severity: CriticalExploitation: Exploitation confirmedCISA KEV
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run APISIX, fix it now.

CISA required action: Apply updates per vendor instructions.

US federal civilian agencies must remediate by Sep 15, 2022.

Patch status

No official fix confirmed yet

Until a fix ships, follow the vendor's mitigations and CISA's required action, limit exposure of affected systems, and watch this record for a patch.

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.

Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorAffected versionsFixed inSource
APISIXApache Software Foundation< 2.10.4; >= 2.11.0, < 2.12.12.10.4; 2.12.1KEV

Sources: KEV = CISA Known Exploited Vulnerabilities catalog.

Intelligence timeline

Developments from the last 30 days, newest first.

  1. CVSS scoredUpdateKEV

    CVE-2022-24112 scored CVSS 9.8: Apache APISIX, Apache APISIX Authentication Bypass Vulnerability

    CISA lists this as exploited in the wild. Unpatched APISIX systems are exposed to active attacks now.

    Basis: NIST National Vulnerability Database

1 earlier event is available with a subscription. See plans.

Coverage

We have not published a story about this vulnerability yet.

References

  • lists.apache.org https://lists.apache.org/thread/lcdqywz8zy94mdysk7p3gfdgn51jmt94
  • nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-24112
  • packetstormsecurity.com http://packetstormsecurity.com/files/166228/Apache-APISIX-Remote-Code-Execution.html
  • packetstormsecurity.com http://packetstormsecurity.com/files/166328/Apache-APISIX-2.12.1-Remote-Code-Execution.html
  • openwall.com http://www.openwall.com/lists/oss-security/2022/02/11/3
  • cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24112