Lucene search

K
githubGitHub Advisory DatabaseGHSA-7286-PGFV-VXVH
HistoryOct 11, 2023 - 12:30 p.m.

Authorization Bypass Through User-Controlled Key vulnerability in Apache ZooKeeper

2023-10-1112:30:27
CWE-639
GitHub Advisory Database
github.com
20
authorization bypass
user-controlled key
apache zookeeper
sasl quorum peer
authentication
arbitrary endpoint
counterfeit changes
read-write access
upgrade
firewall
cluster administration

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

EPSS

0.004

Percentile

72.6%

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.

Affected configurations

Vulners
Node
org.apache.zookeeperzookeeperRange3.9.0โ€“3.9.1
OR
org.apache.zookeeperzookeeperRange3.8.0โ€“3.8.3
OR
org.apache.zookeeperzookeeperRange<3.7.2
VendorProductVersionCPE
org.apache.zookeeperzookeeper*cpe:2.3:a:org.apache.zookeeper:zookeeper:*:*:*:*:*:*:*:*

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

EPSS

0.004

Percentile

72.6%