CVE-2024-51504
published critical CVSS 3.1 · 9.1Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.zookeeper:zookeeperApache ZooKeeper · 3.9.0 to < 3.9.3 · Other versions: unaffected | Affected | Not stated | apache |
| apache | — | zookeeper3.9.0 to < 3.9.3 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache ZooKeeper | 3.9.0 to < 3.9.3 (affected · semver)Default: unaffected | apache · cna |
| apache | zookeeper | 3.9.0 to < 3.9.3 (affected · semver)Default: unaffected | CISA-ADP · adp |
Weaknesses
1- CWE-290 CWE-290 Authentication Bypass by Spoofing
References
2Provider assertions
3apache · cna
Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a70b4071e3b62f9e38036b88679ac4e7cd6780fc961bc16ab988dde4777e9959
- Ingested
- 23 Sep 2026, 08:30:23 UTC
- Source record
- Official CVE record