BLACKOUT MAP

Apache · APISIX

CVE-2022-24112

apisix/batch-requests plugin allows overwriting the X-REAL-IP header

Exploited in attacks Critical 9.8 Attack chance: 96%
Share

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.

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

What to do

Apply updates per vendor instructions.

Deadline for US federal agencies: September 15, 2022

Added to the CISA list
August 25, 2022
Published
February 11, 2022
Severity
Critical 9.8 CVSS 3.1
Chance of attacks in the next 30 days (EPSS)
96% in the top 0.1% of all known vulnerabilities
Weakness
CWE-290
More details
NVD · CVE.org · CISA
All references (4)

More exploited flaws from Apache

AddedVulnerabilityProductSeverityAttack chance
Oct 8, 2026Command InjectionCVE-2016-3081StrutsHigh 8.197%
Aug 4, 2026Missing Encryption of Sensitive DataCVE-2026-34486TomcatHigh 7.599%
Apr 16, 2026Improper Input ValidationCVE-2026-34197ActiveMQHigh 8.898%
May 1, 2025Improper Escaping of OutputCVE-2024-38475HTTP ServerCritical 9.1>99.9%
Apr 1, 2025Path EquivalenceCVE-2025-24813TomcatCritical 10.099.9%
Feb 4, 2025Forced BrowsingCVE-2024-45195OFBizCritical 9.8>99.9%
Sep 18, 2024Improper Access ControlCVE-2024-27348HugeGraph-ServerCritical 9.899.2%
Aug 27, 2024Incorrect AuthorizationCVE-2024-38856OFBizHigh 8.199.4%

All of them →

Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.