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

    Threat Intelligence

    EPSS
    0.04% (11th 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 ID SNYK-JAVA-ORGAPACHEZOOKEEPER-8350343
  • published 7 Nov 2024
  • disclosed 7 Nov 2024
  • credit 4ra1n, Y4tacker

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
Expand this section

Snyk

Recommended
6.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    Low
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None