CVE-2024-51504

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductApache Zookeeper
PublishedNov 7, 2024
First seenNov 7, 2024
Weakness typeCWE-290CWE-290

How to fix

Update
  • apache zookeeper3.9.3 or later
  • org.apache.zookeeper:zookeeper3.9.3 or later

Affected products

ProductAffected versionsFixed in
apache zookeeper3.9.0 ≤ v < 3.9.33.9.3
org.apache.zookeeper:zookeeperMaven3.9.0 ≤ v < 3.9.33.9.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.