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.
References
Link | Resource |
---|---|
https://lists.apache.org/thread/b3qrmpkto5r6989qr61fw9y2x646kqlh | Mailing List Vendor Advisory |
http://www.openwall.com/lists/oss-security/2024/11/06/5 | Mailing List Third Party Advisory |
Configurations
History
24 Jun 2025, 12:27
Type | Values Removed | Values Added |
---|---|---|
References | () https://lists.apache.org/thread/b3qrmpkto5r6989qr61fw9y2x646kqlh - Mailing List, Vendor Advisory | |
References | () http://www.openwall.com/lists/oss-security/2024/11/06/5 - Mailing List, Third Party Advisory | |
First Time |
Apache
Apache zookeeper |
|
CPE | cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:* |
Information
Published : 2024-11-07 10:15
Updated : 2025-06-24 12:27
NVD link : CVE-2024-51504
Mitre link : CVE-2024-51504
CVE.ORG link : CVE-2024-51504
JSON object : View
Products Affected
apache
- zookeeper
CWE
CWE-290
Authentication Bypass by Spoofing