Access control bypass in Apache ZooKeeper
Moderate severity
GitHub Reviewed
Published
May 29, 2019
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Package
Affected versions
>= 1.0.0, < 3.4.14
>= 3.5.0, < 3.5.5
Patched versions
3.4.14
3.5.5
Description
Published by the National Vulnerability Database
May 23, 2019
Reviewed
May 29, 2019
Published to the GitHub Advisory Database
May 29, 2019
Last updated
Feb 1, 2023
An issue is present in Apache ZooKeeper 1.0.0 to 3.4.13 and 3.5.0-alpha to 3.5.4-beta. ZooKeeper?s getACL() command doesn?t check any permission when retrieves the ACLs of the requested node and returns all information contained in the ACL Id field as plaintext string. DigestAuthenticationProvider overloads the Id field with the hash value that is used for user authentication. As a consequence, if Digest Authentication is in use, the unsalted hash value will be disclosed by getACL() request for unauthenticated or unprivileged users.
References