← Vulnerability feed

Vulnerability record · CVE-2024-51504 · published 7 November 2024

CVE-2024-51504: Apache zookeeper authentication bypass by spoofing vulnerability

Apache · Zookeeper

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.

9.1 CVSS 3.1 Critical EPSS 0.92% · top 41.3% CWE-290 · Authentication bypass by spoofing
9.1CVSS 3.1 base score
0.92%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-51504 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.1CVE-2023-44981Apache zookeeper insecure direct object reference vulnerabilityAuthorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper. If SASL Quorum Peer authentication is enabled in ZooKeeper (quoru…EPSS 1.7%8.1CVE-2016-5017Apache zookeeper memory buffer overflow vulnerabilityBuffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before 3.5.3, when using the "cmd:" batch mode syntax, allows attackers…EPSS 7.9%7.5CVE-2026-79993Apache zookeeper missing authorization vulnerabilityThe `deleteContainer` opcode (0x14/20) is processed without verifying the caller's ACL permissions, allowing any authenticated client to delete speci…EPSS 0.60%7.5CVE-2026-59739Apache zookeeper missing authorization vulnerabilityInformation disclosure via SetWatches reconnect replay in Apache ZooKeeper due to missing ACL check. An attacker can discover ACL-restricted paths by…EPSS 0.55%7.5CVE-2026-59969Apache zookeeper vulnerabilityApache ZooKeeper quorum TLS fails to enforce peer hostname verification in FIPS-mode deployments. When sslQuorum=true, zookeeper.fips-mode=true, ssl.…EPSS 0.33%7.5CVE-2026-24308Apache zookeeper sensitive information in log file vulnerabilityImproper handling of configuration values in ZKConfig in Apache ZooKeeper 3.8.5 and 3.9.4 on all platforms allows an attacker to expose sensitive inf…EPSS 1.2%7.5CVE-2018-8012Apache zookeeper missing authorization vulnerabilityNo authentication/authorization is enforced when a server attempts to join a quorum in Apache ZooKeeper before 3.4.10, and 3.5.0-alpha through 3.5.3-…EPSS 8.5%7.5CVE-2017-5637Apache ZooKeeper unauthenticated four-letter commands cause CPU exhaustionApache ZooKeeper exposes the four-letter word commands "wchp" and "wchc", which are CPU intensive and lack authentication. An attacker can abuse them…EPSS 73%analysed

Source: NIST National Vulnerability Database (record CVE-2024-51504), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.