ghsa-2hmj-97jw-28jh
Vulnerability from github
Published
2025-09-24 12:30
Modified
2025-09-26 18:00
Severity ?
Summary
Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands
Details
Improper permission checks in the AdminServer allow an authenticated client with insufficient privileges to invoke the snapshot
and restore
commands. The intended requirement is authentication and authorization on the root path (/
) with ALL permission for these operations; however, affected versions permit invocation without that level of authorization. The primary risk is disclosure of cluster state via snapshots to a lesser-privileged client.
- Affected:
org.apache.zookeeper:zookeeper
3.9.0 through 3.9.3. - Fixed: 3.9.4 (ZOOKEEPER-4964 “check permissions individually during admin server auth”).
- Mitigations:
- Disable both commands (
admin.snapshot.enabled
,admin.restore.enabled
). - Disable AdminServer (
admin.enableServer
). - Ensure the root ACL is not open; note that ZooKeeper ACLs are not recursive.
- Upgrade to 3.9.4.
- Disable both commands (
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "org.apache.zookeeper:zookeeper" }, "ranges": [ { "events": [ { "introduced": "3.9.0" }, { "fixed": "3.9.4" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-58457" ], "database_specific": { "cwe_ids": [ "CWE-280" ], "github_reviewed": true, "github_reviewed_at": "2025-09-24T19:00:08Z", "nvd_published_at": "2025-09-24T10:15:28Z", "severity": "MODERATE" }, "details": "Improper permission checks in the AdminServer allow an authenticated client with insufficient privileges to invoke the `snapshot` and `restore` commands. The intended requirement is authentication and authorization on the root path (`/`) with **ALL** permission for these operations; however, affected versions permit invocation without that level of authorization. The primary risk is disclosure of cluster state via snapshots to a lesser-privileged client.\n\n* **Affected:** `org.apache.zookeeper:zookeeper` 3.9.0 through 3.9.3.\n* **Fixed:** 3.9.4 (ZOOKEEPER-4964 \u201ccheck permissions individually during admin server auth\u201d).\n* **Mitigations:**\n * Disable both commands (`admin.snapshot.enabled`, `admin.restore.enabled`).\n * Disable AdminServer (`admin.enableServer`).\n * Ensure the root ACL is not open; note that ZooKeeper ACLs are not recursive.\n * Upgrade to 3.9.4.", "id": "GHSA-2hmj-97jw-28jh", "modified": "2025-09-26T18:00:05Z", "published": "2025-09-24T12:30:20Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-58457" }, { "type": "PACKAGE", "url": "https://github.com/apache/zookeeper" }, { "type": "WEB", "url": "https://lists.apache.org/thread/r5yol0kkhx2fzw22pxk1ozwm3oc6yxrx" }, { "type": "WEB", "url": "https://zookeeper.apache.org/doc/current/zookeeperSnapshotAndRestore.html" }, { "type": "WEB", "url": "https://zookeeper.apache.org/doc/r3.9.4/releasenotes.html" }, { "type": "WEB", "url": "https://zookeeper.apache.org/security.html#CVE-2025-58457" }, { "type": "WEB", "url": "http://github.com/apache/zookeeper/commit/71e173fcbcc9deb784081cf867bd045df3c32635" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "type": "CVSS_V3" } ], "summary": "Apache ZooKeeper: Insufficient Permission Check in AdminServer Snapshot/Restore Commands" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.