CVE-2024-51504: apache software foundation apache zookeeper Authentication Bypass by Spoofing
Vulnerability summary
CVE-2024-51504 is a critical (CVSS 9.1) Authentication Bypass by Spoofing vulnerability in apache software foundation apache zookeeper. EPSS estimates a 0.92% chance of exploitation in the next 30 days, higher than 59.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 07-11-2024PublishedVulnerability first disclosed.
- 07-11-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.92%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
0.00 pp
From 0.92% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard7 products
- solr< 9.8.1-r1
- solr-oci-compat< 9.8.1-r1
- thingsboard< 4.0.1-r51
- thingsboard-tb-js-executor< 4.0.1-r51
- thingsboard-tb-mqtt-transport< 4.0.1-r51
Wolfi7 products
- solr< 9.8.1-r1
- solr-oci-compat< 9.8.1-r1
- thingsboard< 4.0.1-r51
- thingsboard-tb-js-executor< 4.0.1-r51
- thingsboard-tb-mqtt-transport< 4.0.1-r51
Apache1 product
- zookeeper≥ 3.9.0, < 3.9.3
Apache software foundation1 product
- apache zookeeper≥ 3.9.0, < 3.9.3
Debian1 product
- zookeeper< 3.9.3-1
Org.apache.zookeeper1 product
- zookeeper≥ 3.9.0, < 3.9.3
Ubuntu1 product
- zookeeperAll versions (No fix recorded)
7 vendors · 19 products
References
10 links- lists.apache.org/thread/b3qrmpkto5r6989qr61fw9y2x646kqlhVendor AdvisoryREPORTAdvisoryWEBMailing List
- github.com/apache/zookeeperPACKAGE