Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-290.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache ZooKeeper | 3.9.0 to before 3.9.3 | 3.9.3 | Patch available | CNA |
| — | org.apache.zookeeper:zookeeper (Maven) | 3.9.0 to before 3.9.3 | 3.9.3 | Patch available | GHSA-g93m-8x6h-g5gv |
- Apache ZooKeeper VendorApache Affected 3.9.0 to before 3.9.3 Fixed in 3.9.3 Patch available CNA
- org.apache.zookeeper:zookeeper (Maven) Vendor— Affected 3.9.0 to before 3.9.3 Fixed in 3.9.3 Patch available GHSA-g93m-8x6h-g5gv
Remediation
- Fix · CNA Apache ZooKeeper (Apache Software Foundation) Fixed in 3.9.3
- Fix · GHSA-g93m-8x6h-g5gv org.apache.zookeeper:zookeeper (Maven) Fixed in 3.9.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 14 products
- A-MQ Clients 2
- Logging Subsystem for Red Hat OpenShift
- Red Hat AMQ Broker 7
- Red Hat Data Grid 8
- Red Hat Fuse 7
- Red Hat Integration Camel K 1
- Red Hat JBoss Data Grid 7
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat build of Apache Camel for Spring Boot 3
- Red Hat build of Apache Camel for Spring Boot 4
- Red Hat build of Debezium 2
- streams for Apache Kafka
Timeline
- 2026-10-02 Threatist record created from CVE-2024-51504
- 2026-10-03 Alias added: GHSA-g93m-8x6h-g5gv
References
Advisory 3
More Apache Zookeeper vulnerabilities
- TI-2017-03638 Missing authentication in Apache ZooKeeper CVSS 3.0HIGH 7.5
- TI-2023-24043 Apache ZooKeeper: Authorization bypass in SASL Quorum Peer Authentication CVSS 3.1CRITICAL 9.1
- TI-2021-04395 Possible request smuggling in HTTP/2 due missing validation CVSS 3.1MEDIUM 5.9
- TI-2016-04336 Buffer overflow in the C cli shell in Apache Zookeeper before 3.4.9 and 3.5.x before… CVSS 3.0HIGH 8.1
- TI-2018-05789 Missing authorization in Apache ZooKeeper CVSS 3.1HIGH 7.5
- TI-2026-55327 Missing authorization in Apache ZooKeeper CVSS 3.1HIGH 7.5
Sources
- CVE-2024-51504 · CVE Program
- CVE-2024-51504 · NVD
- FIRST EPSS
- GHSA-g93m-8x6h-g5gv · GitHub Advisory Database · CC BY 4.0
- CVE-2024-51504 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences