← Port Encyclopedia
9042
Cassandra-CQL
TCP
Database
High Risk
Cassandra CQL — native query protocol for Apache Cassandra
🔍 How to Scan Port 9042
nmap -sV -p 9042 target
nmap -sV -sC --script=banner -p 9042 target
nc -zv target 9042
🛡️ Security Considerations
- Scan port 9042 with
nmap -sVto identify the exact service and version - If Cassandra-CQL is not needed, close or firewall this port immediately
- Check for default credentials if a management interface runs on this port
- Use
searchsploit cassandra-cqlto find known exploits - Monitor traffic on port 9042 with Wireshark or tcpdump for anomalies
- Ensure the service is patched to the latest version to prevent known CVE exploitation