Authentication Bypass by Spoofing Affecting org.apache.zookeeper:zookeeper package, versions [3.9.0,3.9.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEZOOKEEPER-8350343
  • published7 Nov 2024
  • disclosed7 Nov 2024
  • credit4ra1n, Y4tacker

Introduced: 7 Nov 2024

CVE-2024-51504  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade org.apache.zookeeper:zookeeper to version 3.9.3 or higher.

Overview

org.apache.zookeeper:zookeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.

Affected versions of this package are vulnerable to Authentication Bypass by Spoofing due to the default configuration of the IPAuthenticationProvider, which relies on HTTP request headers for IP address detection. An attacker can bypass authentication by spoofing the client's IP address in the X-Forwarded-For header. This vulnerability allows unauthorized execution of admin server commands such as snapshot and restore, potentially leading to information leakage or service availability issues.

Note:

This vulnerability only impacts IP-based authentication implemented in ZooKeeper Admin Server.

CVSS Scores

version 4.0
version 3.1