{"cve":"CVE-2024-51504","nvd":{"published":"2024-11-07T10:15:08.297","modified":"2026-06-17T08:05:49.313","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1},"cwes":["CWE-290"],"references":["https://lists.apache.org/thread/b3qrmpkto5r6989qr61fw9y2x646kqlh","http://www.openwall.com/lists/oss-security/2024/11/06/5"],"products":["apache:zookeeper"],"source":"nvd","synced_at":"2026-10-19T21:57:07.693694550+00:00"},"epss":{"cve":"CVE-2024-51504","score":0.00918,"percentile":0.60249,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-g93m-8x6h-g5gv","url":"https://osv.dev/vulnerability/GHSA-g93m-8x6h-g5gv","summary":"Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server","modified":"2026-09-10T03:50:20.779424138Z","packages":[{"ecosystem":"Maven","name":"org.apache.zookeeper:zookeeper","purl":"pkg:maven/org.apache.zookeeper/zookeeper","ranges":[">=3.9.0 <3.9.3"],"fixed":["3.9.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}