Skip to content
Fencer Intel
critical 9.8

CVE-2022-24112 kev in the critical feed json

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

published 4y ago modified 2mo ago also BIT-apisix-2022-24112 , EUVD-2022-29024

cvss
9.8
version 3.1, CNA
cisa kev
Exploited
added 2022-08-25
epss
96.1%
EPSS 96.1% chance of exploitation in 30 days, percentile 99.8%
public exploits
2
Metasploit and Exploit-DB, plus a Nuclei check

Summary

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.

Patch / fix

cisa required action Apply updates per vendor instructions.

  • bitnami apisix 2.10.4, 2.12.1
  • Apache Software Foundation Apache APISIX 2.10.4, 2.12.1

Is CVE-2022-24112 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Timeline

  1. First public exploit (Metasploit exploit/multi/http/apache_apisix_api_default_token_rce)
  2. Published
  3. Added to CISA KEV
  4. CISA patch deadline
  5. CISA SSVC: exploitation active

Known exploited

Added
4y ago
Patch by
2022-09-15 (4y ago)
Ransomware
Not known
Required action
Apply updates per vendor instructions.
Vendor, product
Apache, APISIX
CISA name
Apache APISIX Authentication Bypass Vulnerability

CISA SSVC

Exploitation
Active, exploited in the wild
Automatable
yes
Technical impact
total
Assessed
last yr.

Exploit prediction

96.07% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami apisix
<2.10.4
>=2.11.0, <2.12.1
2.10.4
2.12.1

Affected products

  • Apache Software Foundation Apache APISIX

Classification

Weakness
  • CWE-290 Authentication Bypass by Spoofing

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.