QID 379615
QID 379615: Apache Kafka Broken Access Control Vulnerability
During the migration of an Apache Kafka cluster from ZooKeeper mode to KRaft mode, a vulnerability arises where Access Control Lists (ACLs) may not be properly enforced. This occurs when an ACL is removed, but the associated resource still has two or more other ACLs. Kafka incorrectly treats the resource as having only one ACL. This issue can be resolved by removing all brokers in ZooKeeper mode or by adding a new ACL to the affected resource, without any loss of metadata post-migration.
Affected Versions:
Apache Kafka 3.5.0, 3.5.1, 3.5.2, 3.6.0, 3.6.1
QID Detection Logic:
The qid detects install location of Kafka through running processes and checks for the installed version.
The impact of this vulnerability varies based on the type of Access Control Lists (ACLs) configured during the migration process. If only ALLOW ACLs were set up, the impact would primarily be on availability. However, if DENY ACLs were configured, the potential impact could extend to confidentiality and integrity, depending on the specific ACLs in use. This is because the vulnerability may result in the ignoring of DENY ACLs during the migration period, potentially compromising the security posture of the system.
- Apache Security Advisory -
lists.apache.org/thread/6536rmzyg076lzzdw2xdktvnz163mjpy
CVEs related to QID 379615
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| Apache Security Advisory |
|