CVE-2024-51504

Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server

Published Nov 7, 2024 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-g93m-8x6h-g5gv Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00228}

epss

{'score': 0.00306}

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:*
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:*
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:zookeeper:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics threat_severity

None

threat_severity

Important

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'}

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
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 7, 2024, 4:33 PM
Reserved
Oct 28, 2024, 9:45 PM
Status
Analyzed
Published
Nov 7, 2024, 10:15 AM
Modified
Jun 17, 2026, 8:05 AM
Severity
Important
Public date
Nov 7, 2024, 9:52 AM