Apache ZooKeeper 3.9.x < 3.9.3 Authentication Bypass

critical Nessus Plugin ID 210584

Synopsis

The remote Apache ZooKeeper server is affected by an authentication bypass vulnerability.

Description

The version of Apache ZooKeeper listening on the remote host is 3.9.x prior to 3.9.3. It is, therefore, affected by an authentication bypass vulnerability:

- 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. (CVE-2024-51504) Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update to Apache ZooKeeper 3.9.3 or later.

See Also

https://zookeeper.apache.org/security.html

Plugin Details

Severity: Critical

ID: 210584

File Name: apache_zookeeper_3_9_3.nasl

Version: 1.2

Type: combined

Family: Misc.

Published: 11/8/2024

Updated: 11/11/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: High

Base Score: 8.3

Temporal Score: 6.1

Vector: CVSS2#AV:A/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-51504

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:apache:zookeeper

Required KB Items: installed_sw/Apache Zookeeper

Exploit Ease: No known exploits are available

Patch Publication Date: 11/7/2024

Vulnerability Publication Date: 11/7/2024

Reference Information

CVE: CVE-2024-51504

IAVB: 2024-B-0169