CRITICAL🇵🇱 Wersja polska

CVE-2024-51504

CVSS 9.1v3.1pub. 2024-11-07upd. 2025-06-24

When using IPAuthenticationProvider in ZooKeeper Admin Server there is a possibility of Authentication Bypass by Spoofing -- this only impacts IP based authentication implemented in ZooKeeper Admin Server. Default configuration of client's IP address detection in IPAuthenticationProvider, which uses HTTP request headers, is weak and allows an attacker to bypass authentication via spoofing client's IP address in request headers. Default configuration honors X-Forwarded-For HTTP header to read client's IP address. X-Forwarded-For request header is mainly used by proxy servers to identify the client and can be easily spoofed by an attacker pretending that the request comes from a different IP address. Admin Server commands, such as snapshot and restore arbitrarily can be executed on successful exploitation which could potentially lead to information leakage or service availability issues. Users are recommended to upgrade to version 3.9.3, which fixes this issue.

🤖 AI Analysis
How it works

The IPAuthenticationProvider mechanism in ZooKeeper Admin Server by default reads the client's IP address from the HTTP X-Forwarded-For header, which can be easily spoofed by an attacker. An attacker can place an authorized client's IP address in this header, resulting in the server incorrectly granting access. Because the X-Forwarded-For header is standardly used by proxy servers to forward the original client address, the default configuration does not verify its authenticity, making the authentication mechanism ineffective.

Impact

An attacker can execute privileged Admin Server commands without authentication, such as creating and restoring snapshots, which may lead to disclosure of sensitive information or disruption of service availability.

Mitigation & patch

Apache ZooKeeper should be updated to version 3.9.3, which eliminates this vulnerability. Until the patch is deployed, it is recommended to restrict access to Admin Server at the network level (firewall) and avoid relying solely on IP address-based authentication from HTTP headers.

Who is affected

Apache ZooKeeper with IPAuthenticationProvider enabled in Admin Server; update to version 3.9.3 is recommended

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • Apache Zookeeper

    APP
    Apache
    3.9.0 – 3.9.3 (excl.)
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
Auth Bypass
CWE
References

Related vulnerabilities

CVE-2023-44981CRITICAL9.1PL ✓same product

Apache ZooKeeper: pominięcie autoryzacji SASL przez brak członu instance

CVE-2026-24308HIGH7.5same product

Improper handling of configuration values in ZKConfig in Apache ZooKeeper 3.8.5 and 3.9.4 on all platforms all...

CVE-2026-24281HIGH7.4same product

Hostname verification in Apache ZooKeeper ZKTrustManager falls back to reverse DNS (PTR) when IP SAN validatio...

CVE-2018-8012HIGH7.5same product

No authentication/authorization is enforced when a server attempts to join a quorum in Apache ZooKeeper before...

CVE-2017-5637HIGH7.5same product

Two four letter word commands "wchp/wchc" are CPU intensive and could cause spike of CPU utilization on Apache...