CVE-2024-23944: Apache ZooKeeper: Information disclosure in persistent watcher handling

Related Vulnerabilities: CVE-2024-23944  
                							

                <!--X-Body-Begin-->
<!--X-User-Header-->

oss-sec
mailing list archives
<!--X-User-Header-End-->
<!--X-TopPNI-->

By Date

By Thread

</form>

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
CVE-2024-23944: Apache ZooKeeper: Information disclosure in persistent watcher handling

<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->

From: Andor Molnar &lt;andor () apache org&gt;

Date: Thu, 14 Mar 2024 15:52:52 +0000

<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->

<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
Severity: critical

Affected versions:

- Apache ZooKeeper 3.9.0 through 3.9.1
- Apache ZooKeeper 3.8.0 through 3.8.3
- Apache ZooKeeper 3.6.0 through 3.7.2

Description:

Information disclosure in persistent watchers handling in Apache ZooKeeper due to missing ACL check. It allows an 
attacker to monitor child znodes by attaching a persistent watcher (addWatch command) to a parent which the attacker 
has already access to. ZooKeeper server doesn't do ACL check when the persistent watcher is triggered and as a 
consequence, the full path of znodes that a watch event gets triggered upon is exposed to the owner of the watcher. 
It's important to note that only the path is exposed by this vulnerability, not the data of znode, but since znode path 
can contain sensitive information like user name or login ID, this issue is potentially critical.

Users are recommended to upgrade to version 3.9.2, 3.8.4 which fixes the issue.

Credit:

周吉安(寒泉) &lt;zhoujian.zja () alibaba-inc com&gt; (reporter)

References:

https://zookeeper.apache.org/
https://www.cve.org/CVERecord?id=CVE-2024-23944

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->

<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->

By Date

By Thread

Current thread:

CVE-2024-23944: Apache ZooKeeper: Information disclosure in persistent watcher handling Andor Molnar (Mar 14)

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->