CVE-2024-51504CWE-290

Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server

Critical · published November 7, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
59.9
In the wild
Unconfirmed
What it is

🚨 A crafty IP spoofing attack can let anyone waltz past ZooKeeper Admin Server’s defenses! 🔥 Think of it like a restaurant where a diner uses a fake reservation under someone else’s name to sneak into the VIP section — it’s all about fooling the system! If an attacker successfully exploits this vulnerability, they could execute powerful commands like snapshot and restore, leading to devastating information leaks or even taking down your services. The consequences could be catastrophic, opening the door to unauthorized access and jeopardizing your entire infrastructure!

Put simply

Think of it like a restaurant where a diner uses a fake reservation under someone else’s name to sneak into the VIP section — it’s all about fooling the system! This vulnerability arises from a weak configuration in the IPAuthenticationProvider, which relies on HTTP request headers like X-Forwarded-For to determine the client's IP address, allowing easy spoofing and bypassing of authentication mechanisms.

What to do

If an attacker successfully exploits this vulnerability, they could execute powerful commands like snapshot and restore, leading to devastating information leaks or even taking down your services. The consequences could be catastrophic, opening the door to unauthorized access and jeopardizing your entire infrastructure! Upgrade to ZooKeeper version 3.9.3 immediately to patch this vulnerability. Moreover, consider reviewing your network configuration and eliminating reliance on X-Forwarded-For for sensitive authentication decisions. 🛡️ You’ve got this! Fixing this issue will make you a security hero — let’s get to it! 💪🦸

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00918 · 59.9th percentile
Weakness
CWE-290 · Authentication Bypass by Spoofing
Published
2024-11-07T09:52Z
EPSS history
Timeline
  • 07 NOV 09:52Z
    Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server
    cvelistv5