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.
History

Sat, 09 Nov 2024 02:30:00 +0000

Type Values Removed Values Added
Metrics threat_severity

None

threat_severity

Important


Fri, 08 Nov 2024 13:45:00 +0000


Thu, 07 Nov 2024 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache zookeeper
CPEs cpe:2.3:a:apache:zookeeper:-:*:*:*:*:*:*:*
Vendors & Products Apache
Apache zookeeper
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 07 Nov 2024 10:00:00 +0000

Type Values Removed Values Added
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.
Title Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server
Weaknesses CWE-290
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published: 2024-11-07T09:52:03.957Z

Updated: 2024-11-07T16:33:08.247Z

Reserved: 2024-10-28T21:45:25.587Z

Link: CVE-2024-51504

cve-icon Vulnrichment

Updated: 2024-11-07T10:03:24.899Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-11-07T10:15:08.297

Modified: 2024-11-08T19:01:03.880

Link: CVE-2024-51504

cve-icon Redhat

Severity : Important

Publid Date: 2024-11-07T09:52:03Z

Links: CVE-2024-51504 - Bugzilla