BlogPHP2Shell Exploitation: How Secure.com Can Protect YouRead more
← CVE Radar

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

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.

9.8 CRITICALEPSS 96.06%⚡ Known Exploited (CISA KEV)NVD: Analyzed

Overview

Severity

ScoreSeverityVersionVector String
9.8CRITICAL3.1NVDCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
7.5HIGH2.0NVDAV:N/AC:L/Au:N/C:P/I:P/A:P

CISA required action

⚡ Known exploited · remediation due Sep 15, 2022

Apply updates per vendor instructions.

Details

CVE ID
CVE-2022-24112
Status
Analyzed
Assigner (CNA)
apache
Published
Feb 11, 2022
Last modified
2026-06-17 04:31 UTC
Weaknesses
  • CWE-290 · Authentication Bypass by Spoofing

Sources

Refreshed hourly from the sources above. Last fetched 2026-11-08 14:27 UTC.