Security Resilience

CVE-2022-24112

Auth Bypass in Apache Apisix ≤ 2.10.4

CISA KEVActive ExploitationEUVD ExploitedPublic PoCAuth Bypass
Published
11 February 2022
Modified
23 October 2025
KEV Added
25 August 2022
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.96 99.9th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2022-24112 is a critical-severity Authentication Bypass by Spoofing (CWE-290) vulnerability in Apache Apisix. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Junk Data (T1001.001); ranked in the top 0.1% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Apache APISIX contains a flaw in its batch-requests plugin that fails to enforce an intended check overriding the client IP with the real remote IP address. This allows an attacker to spoof requests and bypass IP-based access controls on the Admin API. The issue affects default installations that use the built-in API key and expose the Admin API on the same port as the data plane, resulting in a CVSS 9.8 remote code execution vector; changing the admin key or moving the Admin API to a separate port reduces but does not eliminate the risk of IP restriction bypass.

Unauthenticated remote attackers can send crafted batch requests that reach administrative endpoints despite configured IP allow-lists. In the default configuration this leads directly to arbitrary code execution on the gateway; even after key or port changes, an attacker who can reach the data plane can still abuse the same plugin logic to circumvent IP restrictions and perform privileged operations.

Public advisories and exploit disclosures, including the Apache OSS-Security list and multiple Packet Storm entries, highlight that the root cause is an incomplete IP-verification check inside the batch-requests plugin. Recommended mitigations center on disabling the plugin when not required, enforcing a non-default admin key, and ensuring the Admin API listens on a distinct, firewalled port from the data plane.

The CVE maintains an extremely high EPSS score with a recorded peak of 0.9744, indicating sustained exploitation interest following disclosure. Public proof-of-concept code has been available since February 2022.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)
KEV Date Added
25 August 2022

Related Threats

Threat-Actor AttributionAI

Microsoft Corp. (Salesforce / Slack engineer recruitment claims)
Top CVEs Actively Exploited By People’s Republic of China State-Sponsored Cyber Actors | CISA
HAFNIUM (G0125)
Top CVEs Actively Exploited By People’s Republic of China State-Sponsored Cyber Actors | CISA
AnonOps
Top CVEs Actively Exploited By People’s Republic of China State-Sponsored Cyber Actors | CISA

MITRE ATT&CK Enterprise Techniques

T1001.001 Junk Data Command And Control
Adversaries may add junk data to protocols used for command and control to make detection more difficult.
T1003.003 NTDS Credential Access
Adversaries may attempt to access or create a copy of the Active Directory domain database in order to steal credential information, as well as obtain other information about domain members such as devices, users, and access rights.
T1003.005 Cached Domain Credentials Credential Access
Adversaries may attempt to access cached domain credentials used to allow authentication to occur in the event a domain controller is unavailable.
T1006 Direct Volume Access Stealth
Adversaries may directly access a volume to bypass file access controls and file system monitoring.
T1021.003 Distributed Component Object Model Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
T1027 Obfuscated Files or Information Stealth
Adversaries may attempt to make an executable or file difficult to discover or analyze by encrypting, encoding, or otherwise obfuscating its contents on the system or in transit.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-49231Same product: Apache Apisix
CVE-2026-39999Same product: Apache Apisix
CVE-2026-44046Same product: Apache Apisix
CVE-2026-47341Same product: Apache Apisix
CVE-2025-46647Same product: Apache Apisix
CVE-2026-47339Same product: Apache Apisix
CVE-2024-51504Same vendor: Apache
CVE-2026-63041Same product: Apache Apisix
CVE-2026-28812Same vendor: Apache
CVE-2026-49871Same product: Apache Apisix

Affected Assets

apache
apisix
≤ 2.10.4 · 2.11.0 — 2.12.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 3 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V6.4.3
  • V10.4.16
  • V11.4.3

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-290

Reveals spoofed logon attempts through unexpected previous logon timestamps upon legitimate login.

addresses: CWE-290

Training specifically addresses recognizing spoofed communications and phishing that enable authentication bypass.

addresses: CWE-290

Requiring verifiable identity evidence at appropriate assurance levels makes it substantially harder for attackers to successfully spoof or impersonate users to obtain accounts.

addresses: CWE-290

Unique device authentication makes successful spoofing of device identity substantially more difficult to achieve.

addresses: CWE-290

Unique identification of non-organizational users reduces the feasibility of authentication bypass by spoofing.

addresses: CWE-290

Unique identification and authentication of services before communications makes spoofing of service identities substantially harder.

addresses: CWE-290

Isolated trusted path ensures the user interacts only with genuine system components, preventing spoofing of authentication interfaces or prompts.

addresses: CWE-290

Directly counters DNS response spoofing by requiring cryptographic origin authentication artifacts from the authoritative source.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-02 partial match
blocks

Proofing and binding identities reduces spoofing opportunities during enrollment but does not address runtime authentication implementation flaws.

PR.AA-03 partial match
blocks

Requiring authentication of users/services/hardware directly counters spoofing-based bypass when strong methods are used.

PR.AA-04 partial match
blocks

Protecting, conveying, and verifying identity assertions specifically prevents the spoofing that enables authentication bypass.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

removes
blocks

A.5.15 only requires that an access control policy and requirements be defined and communicated; it does not itself implement, enforce or configure any authentication scheme that would stop spoofing attacks from bypassing authentication, so the weakness remains fully exploitable.

blocks

A.5.16 manages the lifecycle, uniqueness, and accountability of identities; it does not implement or strengthen authentication schemes against spoofing, so the CWE-290 exploit remains possible even when identities are correctly provisioned and tracked.

blocks

Authentication information management directly addresses credential handling that prevents spoofing.

blocks

A.5.18 governs the provisioning, review, and revocation of already-granted access rights to authenticated identities; it has no bearing on whether an authentication scheme can be spoofed or bypassed before any rights are assigned.

removes

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (higher-evidence rows only; rows rated `none` are excluded).

Oracle Linux 8 (1 rule)
  • V-248827 OL 8 must not have the rsh-server package installed. blocks CWE-290
RHEL 7 (1 rule)
  • V-204442 The Red Hat Enterprise Linux operating system must not have the rsh-server package installed. blocks CWE-290
RHEL 8 (1 rule)
  • V-230492 RHEL 8 must not have the rsh-server package installed. blocks CWE-290

References