CVE-2022-24112KEV · OVERDUECWE-290

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

Critical · published February 11, 2022

Patch now

Confirmed exploited, and the score agrees

CVSS calls it critical at 9.8. It is confirmed in active exploitation. It sits in the 99.9th percentile for exploit probability.

1499
days past CISA
deadline
CVSS v3.1
9.8
EPSS
96%
Percentile
99.9
In the wild
Confirmed
What it is

🚨 A crafty exploit is lurking in the batch-requests plugin of Apache APISIX! An attacker can bypass IP restrictions and gain remote code execution if you're not on your guard! 🔥 Think of this like a security guard at a concert who relies on a guest list to admit people. If they get tricked by someone using a fake invitation, they might let in someone who doesn’t belong — and suddenly, the concert turns into a disaster! With a CVSS score of 9.8, this vulnerability could allow attackers to execute arbitrary code on your server, potentially compromising sensitive data and systems. Imagine hackers turning your server into their personal playground, wreaking havoc on your operations and stealing critical information!

Put simply

Think of this like a security guard at a concert who relies on a guest list to admit people. If they get tricked by someone using a fake invitation, they might let in someone who doesn’t belong — and suddenly, the concert turns into a disaster! This vulnerability arises from a bug in the batch-requests plugin, which fails to properly enforce IP restrictions by allowing an attacker to bypass checks that should verify the client's IP address. As a result, the exploit can lead to remote code execution if the admin key or API port isn't properly secured.

What to do

With a CVSS score of 9.8, this vulnerability could allow attackers to execute arbitrary code on your server, potentially compromising sensitive data and systems. Imagine hackers turning your server into their personal playground, wreaking havoc on your operations and stealing critical information! To protect your system, immediately change any default configurations, including the API key and the port of the Admin API. It's also crucial to update Apache APISIX to the latest version where the vulnerability has been patched. Regularly review your security settings to tighten access controls. You've got this! By taking these quick steps, you can safeguard your systems and keep those pesky attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.96069 · 99.9th percentile
Weakness
CWE-290 · Authentication Bypass by Spoofing
Published
2022-02-11T12:20Z
KEV added
2022-08-25 · due 2022-09-15
EPSS history
Timeline
  • 25 AUG 00:00Z
    Added to CISA KEV — remediate by Sep 15
    kev
  • 11 FEB 12:20Z
    apisix/batch-requests plugin allows overwriting the X-REAL-IP header
    cvelistv5