GitHub Advisoryadvisory · Maven
GHSA-7286-pgfv-vxvh Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper
CRITICAL
Official page ↗
- Aliases
- CVE-2023-44981
- Ecosystem
- Maven
- Packages
- org.apache.zookeeper:zookeeper
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-639
- Reviewed
- 2023-10-11
Affected packages
• Maven org.apache.zookeeper:zookeeper: < 3.7.2 → fixed in 3.7.2
• Maven org.apache.zookeeper:zookeeper: >= 3.8.0, < 3.8.3 → fixed in 3.8.3
• Maven org.apache.zookeeper:zookeeper: >= 3.9.0, < 3.9.1 → fixed in 3.9.1
Description
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 '[email protected]', 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.
Related
Alias · CVE (1)
- CVE-2023-44981 Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper. vulnerability
Weakness · CWE (1)
- CWE-639 Authorization Bypass Through User-Controlled Key weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-44981 advisory
- https://github.com/apache/zookeeper package
- https://lists.apache.org/thread/wf0yrk84dg1942z1o74kd8nycg6pgm5b web
- https://lists.debian.org/debian-lts-announce/2023/10/msg00029.html web
- https://security.netapp.com/advisory/ntap-20240621-0007 web
- https://www.debian.org/security/2023/dsa-5544 web
- http://www.openwall.com/lists/oss-security/2023/10/11/4 web