p PatchFirst

CVE-2024-51504

CVE-2024-51504 · Apache ZooKeeper: Authentication bypass with IP-based authentication in Admin Server

CVSS 9.1 · Critical · EPSS 1.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="zookeeper"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • apache zookeeper

    Versions
    • ≥ 3.9.0, < 3.9.3: Affected (semver)

    Update to 3.9.3

  • zookeeper Debian 13

    Affected ranges
    • ECOSYSTEM: < 3.9.3-1

    Update to 3.9.3-1

  • zookeeper Debian 14

    Affected ranges
    • ECOSYSTEM: < 3.9.3-1

    Update to 3.9.3-1

  • zookeeper Ubuntu 24.04 LTS

    Versions
    • 3.8.0-11
    • 3.9.1-1
    • 3.9.1-1build1
    • 3.9.1-1build2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →