Cassandra Enumeration
Techniques for enumerating Apache Cassandra instances, covering keyspace discovery, table extraction, user privileges, and misconfigurations via CQL and tools like cqlsh.
HackIndex.io
Language
Apache Cassandra is a distributed NoSQL database designed for high availability and scalability. The CQL (Cassandra Query Language) native transport listens on TCP port 9042, and internode cluster communication uses TCP port 7000 (or 7001 for TLS). Nmap may identify port 9042 as cassandra depending on detection scripts.
Cassandra instances are often deployed without authentication enabled, especially in development and internal environments. Unauthenticated access to the CQL port grants full read and write control over all keyspaces and tables. Even when authentication is enabled, default credentials (cassandra:cassandra) are frequently left unchanged. The distributed nature of Cassandra means compromising one node can expose data replicated across the entire cluster.
Enumeration starts with connecting via cqlsh to test for unauthenticated or default-credential access. Listing keyspaces (DESCRIBE KEYSPACES) and tables reveals the data model and scope of stored information. System tables expose cluster topology, node addresses, and configuration details. The JMX management interface (typically on port 7199) provides additional attack surface for monitoring and management operations if accessible.
Enumerate Cassandra via cqlsh to extract keyspaces and hashes
Techniques for enumerating Apache Cassandra instances, covering keyspace discovery, table extraction, user privileges, and misconfigurations via CQL and tools like cqlsh.
Exploit open Cassandra via cqlsh, backdoor users, dump data, run OS command
Exploit unauthenticated Apache Cassandra instances to enumerate keyspaces, extract data, and execute CQL queries without credentials.
We use cookies to improve your browsing experience, analyze site traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies. Privacy Policy.