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). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. 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 Exploit Public-Facing Application (T1190); 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

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1684.002 Email Spoofing Stealth
Adversaries may fake, or spoof, a sender’s identity by modifying the value of relevant email headers in order to establish contact with victims under false pretenses.
T1557.004 Evil Twin Credential Access
Adversaries may host seemingly genuine Wi-Fi access points to deceive users into connecting to malicious networks as a way of supporting follow-on behaviors such as [Network Sniffing](https://attack.
T1559.003 XPC Services Execution
Adversaries can provide malicious content to an XPC service daemon for local code execution.
T1584.008 Network Devices Resource Development
Adversaries may compromise third-party network devices that can be used during targeting.
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-2025-46647Same product: Apache Apisix
CVE-2026-47341Same product: Apache Apisix
CVE-2024-32638Same product: Apache Apisix
CVE-2026-44046Same product: Apache Apisix
CVE-2026-63041Same product: Apache Apisix
CVE-2026-49230Same product: Apache Apisix
CVE-2026-31924Same product: Apache Apisix
CVE-2026-31923Same 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

Our mappings. 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)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-04 full match
blocks

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

PR.AA-03 mostly match
blocks

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

PR.AA-02 partial match
blocks

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

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

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect spoofing vulnerabilities but does not prevent them by itself.

removes

A.8.5 mandates strong authentication methods (certificates, tokens, biometrics) and MFA for critical systems, so applying it to a system that relied on a single spoofable factor (IP address, DNS name) replaces that factor with non-spoofable ones and the spoofing attack no longer succeeds; the remainder is implementation flaws inside otherwise strong authentication (e.g. flawed certificate validation), which the clause's guidance on choosing techniques does not reach.

blocks

Authentication information management directly addresses credential handling that prevents spoofing.

blocks

Privileged access rights reduce attack surface but do not prevent spoofing of authentication.

blocks

A.8.20's network-level controls (firewalls, ingress filtering, network authentication per items h/i/j/n) can block some spoofing attempts at the network layer, but the application-level authentication defect that trusts spoofable values remains present and exploitable through other vectors (DNS spoofing, Host header manipulation, on-path attacks within the trusted network).

blocks

Network segregation blocks external attackers and attackers on other network domains from reaching the authentication endpoint, and makes IP spoofing harder by preventing the attacker from being on the same subnet to sniff responses, but the weakness remains present in the authentication code and is fully exploitable by anyone who can reach the endpoint (insider, compromised host on the same domain, or misconfigured gateway).

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 our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

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