Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.zookeeper:zookeeperMaven | >= 3.9.0, < 3.9.3 | 3.9.3 |
Affected products
20- osv-coords19 versionspkg:apk/chainguard/solrpkg:apk/chainguard/solr-oci-compatpkg:apk/chainguard/thingsboardpkg:apk/chainguard/thingsboard-tb-js-executorpkg:apk/chainguard/thingsboard-tb-mqtt-transportpkg:apk/chainguard/thingsboard-tb-nodepkg:apk/chainguard/thingsboard-tb-web-uipkg:apk/chainguard/wso2ispkg:apk/chainguard/wso2is-compatpkg:apk/chainguard/wso2is-docpkg:apk/wolfi/solrpkg:apk/wolfi/solr-oci-compatpkg:apk/wolfi/thingsboardpkg:apk/wolfi/thingsboard-tb-js-executorpkg:apk/wolfi/thingsboard-tb-mqtt-transportpkg:apk/wolfi/thingsboard-tb-nodepkg:apk/wolfi/thingsboard-tb-web-uipkg:bitnami/zookeeperpkg:maven/org.apache.zookeeper/zookeeper
< 9.8.1-r1+ 18 more
- (no CPE)range: < 9.8.1-r1
- (no CPE)range: < 9.8.1-r1
- (no CPE)range: < 4.0.1-r51
- (no CPE)range: < 4.0.1-r51
- (no CPE)range: < 4.0.1-r51
- (no CPE)range: < 4.0.1-r51
- (no CPE)range: < 4.0.1-r51
- (no CPE)range: < 7.2.0-r0
- (no CPE)range: < 7.2.0-r0
- (no CPE)range: < 7.2.0-r0
- (no CPE)range: < 9.8.1-r1
- (no CPE)range: < 9.8.1-r1
- (no CPE)range: < 4.0.1-r51
- (no CPE)range: < 4.0.1-r51
- (no CPE)range: < 4.0.1-r51
- (no CPE)range: < 4.0.1-r51
- (no CPE)range: < 4.0.1-r51
- (no CPE)range: >= 3.9.0, < 3.9.3
- (no CPE)range: >= 3.9.0, < 3.9.3
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-g93m-8x6h-g5gvghsaADVISORY
- lists.apache.org/thread/b3qrmpkto5r6989qr61fw9y2x646kqlhghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2024-51504ghsaADVISORY
- www.openwall.com/lists/oss-security/2024/11/06/5ghsaWEB
- github.com/apache/zookeeper/commit/2c2b74c1c11b6531aabb1bf06782e859048d5983ghsaWEB
News mentions
0No linked articles in our index yet.