Skip to content
Cassandra
Service

Cassandra

Cassandra is a distributed NoSQL database. Attackers probe open ports, enumerate keyspaces, exploit misconfigs or weak auth, extract data, and pivot using stolen credentials

:9042 :9160 2 guides 2 phases
1 min read Created: Apr 4, 2026 Updated: Sep 14, 2026

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.

Enumeration

Enumerate Cassandra via cqlsh to extract keyspaces and hashes

1

Cassandra Enumeration

Techniques for enumerating Apache Cassandra instances, covering keyspace discovery, table extraction, user privileges, and misconfigurations via CQL and tools like cqlsh.

Sep 14, 2026 • 2 min read

Exploitation

Exploit open Cassandra via cqlsh, backdoor users, dump data, run OS command

1

Cassandra Unauthenticated Access

Exploit unauthenticated Apache Cassandra instances to enumerate keyspaces, extract data, and execute CQL queries without credentials.

Sep 14, 2026 • 3 min read