Skip to main content
← All vulnerabilities
CVE-2023-44981GHSA-7286-PGFV-VXVHBIT-ZOOKEEPER-2023-44981

Apache ZooKeeper: Authorization bypass in SASL Quorum Peer Authentication

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.9.1, 3.7.0, 3.7.2, 3.8.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper. If SASL Quorum Peer authentication is enabled in ZooKeeper (quorum.auth.enableSasl=true), the authorization is done by verifying that the instance part in SASL authentication ID is listed in zoo.cfg server list. The instance part in SASL auth ID is optional and if it's missing, like 'eve@EXAMPLE.COM', the authorization check will be skipped. As a result an arbitrary endpoint could join the cluster and begin propagating counterfeit changes to the leader, essentially giving it complete read-write access to the data tree. Quorum Peer authentication is not enabled by default. Users are recommended to upgrade to version 3.9.1, 3.8.3, 3.7.2, which fixes the issue. Alternately ensure the ensemble election/quorum communication is protected by a firewall as this will mitigate the issue. See the documentation for more details on correct cluster administration.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • org.apache.zookeeper:zookeeper

    From 3.9.0 · fixed in 3.9.1; From 3.8.0 · through 3.8.2; From 3.7.0 · through 3.7.1; fixed in 3.7.0

  • org.apache.zookeeper:zookeeperMaven

    fixed in 3.7.2

  • org.apache.zookeeper:zookeeperMaven

    From 3.8.0 · fixed in 3.8.3

  • org.apache.zookeeper:zookeeperMaven

    From 3.9.0 · fixed in 3.9.1

References 5

lists.apache.org

openwall.com

lists.debian.org

debian.org

security.netapp.com