Database Scanner — Find Exposed MongoDB, Elasticsearch, Redis & MySQL
Discover exposed databases on the internet — MongoDB, Elasticsearch, Redis, MySQL, PostgreSQL, and more. Check if your databases are publicly accessible and learn how to secure them.
The Exposed Database Problem
Exposed databases are one of the most critical and common security issues on the internet. Every week, news breaks about another data breach caused by a misconfigured database left open to the internet without authentication.
Many databases ship with authentication disabled by default or bind to all interfaces (0.0.0.0) out of the box. When deployed on cloud instances with public IPs, they become instantly discoverable by internet scanners.
Zondex continuously scans the internet and indexes these exposed database services, making it possible to identify and secure vulnerable databases before attackers find them.
Exposed MongoDB Databases
MongoDB is one of the most commonly exposed databases on the internet. It ships with authentication disabled by default (prior to v6.0) and binds to all interfaces. Thousands of MongoDB instances containing terabytes of data have been found exposed, leading to major data breaches and ransomware attacks targeting unprotected databases.
Exposed Elasticsearch Databases
Elasticsearch clusters are frequently found exposed on port 9200 with no authentication. By default, Elasticsearch has no built-in authentication (X-Pack Security was optional until v8.0). Exposed instances often contain log data, customer records, and PII from web applications.
Exposed Redis Databases
Redis, an in-memory data store, is designed to be accessed from trusted environments and has no authentication by default. Exposed Redis instances can lead to remote code execution through the CONFIG SET and SLAVEOF commands, making this one of the most dangerous exposure types.
Exposed MySQL Databases
MySQL instances exposed on port 3306 are commonly found in the wild, though MySQL does require authentication by default. The risk comes from weak passwords, known exploits in older versions, and potential brute-force attacks. Exposed MySQL servers often indicate broader infrastructure security issues.
Exposed PostgreSQL Databases
PostgreSQL requires authentication but can be misconfigured with pg_hba.conf allowing trust authentication from any host. Exposed PostgreSQL instances on port 5432 are less common than MongoDB or Redis but still represent a significant security risk.
Exposed Memcached Databases
Memcached has no authentication mechanism at all. Exposed instances can leak cached application data and have been exploited for massive DDoS amplification attacks (the memcrashed attack of 2018 generated 1.7 Tbps attacks). Never expose Memcached to the internet.
Exposed CouchDB Databases
CouchDB instances on port 5984 expose a REST API that, when unauthenticated, allows full read/write access to all databases. The Fauxton web UI on the same port provides a visual interface to browse and modify data.
Exposed Cassandra Databases
Apache Cassandra CQL interface on port 9042 does not require authentication by default. While Cassandra is typically used in enterprise environments with proper networking, misconfigured instances can expose large-scale distributed databases.
How to Use Zondex as a Database Scanner
Zondex scans common database ports across the entire internet and indexes the banners they return. Use these queries to find exposed databases within your organization's IP ranges:
Database Security Best Practices
Enable Authentication
Always enable authentication, even in dev. Use strong passwords and RBAC. MongoDB, Redis, and Elasticsearch ship with auth disabled by default.
Bind to Localhost
Configure databases to listen on 127.0.0.1 or a private interface only. Never bind to 0.0.0.0 unless properly firewalled.
Use Firewall Rules
Configure iptables, security groups (AWS), or NSGs (Azure) to restrict database port access to trusted IPs only.
Enable TLS Encryption
Encrypt connections with TLS/SSL to prevent credentials and data from being intercepted.
Monitor & Audit
Regularly scan your own infrastructure with Zondex to verify databases aren't accidentally exposed. Set alerts for new open ports.
Use VPN / SSH Tunnels
For remote administration, use SSH tunnels or VPN connections instead of exposing database ports directly.
Frequently Asked Questions
What is a database scanner?
Why are databases exposed on the internet?
How can I check if my database is exposed?
Is it legal to scan for exposed databases?
What is the most commonly exposed database?
How do I secure my database from internet exposure?
Find Exposed Databases — Free
Use Zondex to check if your MongoDB, Elasticsearch, Redis, or MySQL instances are publicly accessible.