Critical severity · published Nov 7, 2024
CVE-2024-51504
Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server
9.1
CVSS
0.9%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 60% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AZ
Apache ZooKeeper · Apache Software Foundation
3.9.0 before 3.9.3 · source: vendor
ZO
Zookeeper · Apache
3.9.0 before 3.9.3 · source: NVD, CISA
Affected product
AZ
Apache ZooKeeper
Apache Software Foundation
More from Apache ZooKeeper
7.5
CVE-2026-79993
Apache ZooKeeper: Missing ACL check on deleteContainer opcode allows unauthorized deletion of any empty persistent/container znode
7.5
CVE-2026-59969
Apache ZooKeeper: Improper validation of certificate with host mismatch in FIPS mode
7.5
CVE-2026-59739
Apache ZooKeeper: Information disclosure via SetWatches reconnect replay
7.5
CVE-2026-24308
Apache ZooKeeper: Sensitive information disclosure in client configuration handling
7.4
CVE-2026-24281
Apache ZooKeeper: Reverse-DNS fallback enables hostname verification bypass in ZooKeeper ZKTrustManager