GHSA-m9p2-j4hg-g373
Apache Cassandra: Privilege escalation when enabling FQL/Audit logs
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.apache.cassandra:cassandra-all | >= 4.1.0, < 4.1.2 | 4.1.2 |
| Maven | org.apache.cassandra:cassandra-all | >= 4.0.0, < 4.0.10 | 4.0.10 |
Details
As written in the advisory (Markdown source, shown as plain text).
Privilege escalation when enabling FQL/Audit logs allows user with JMX access to run arbitrary commands as the user running Apache Cassandra
This issue affects Apache Cassandra: from 4.0.0 through 4.0.9, from 4.1.0 through 4.1.1.
WORKAROUND
The vulnerability requires nodetool/JMX access to be exploitable, disable access for any non-trusted users.
MITIGATION
Upgrade to 4.0.10 or 4.1.2 and leave the new FQL/Auditlog configuration property allow_nodetool_archive_command as false.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2023-30601
- https://github.com/apache/cassandra/commit/22d74c711658507addfd67e2c78b04a9b88413b2
- https://github.com/apache/cassandra/commit/aafb4d19448f12ce600dc4e84a5b181308825b32
- https://github.com/apache/cassandra
- https://issues.apache.org/jira/browse/CASSANDRA-18550
- https://lists.apache.org/thread/f74p9jdhmmp7vtrqd8lgm8bq3dhxl8vn