GHSA-2HMJ-97JW-28JH

Vulnerability from github – Published: 2025-09-24 12:30 – Updated: 2025-11-05 20:46
VLAI?
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.
Show details on source website

{
  "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-11-05T20:46:28Z",
  "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"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2025/09/24/10"
    }
  ],
  "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"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…