Database Security Audit Checklist: MySQL, PostgreSQL, MongoDB & Redis
MySQL and MariaDB, PostgreSQL, MongoDB and Redis.
Databases are where a server breach becomes a data breach. The gap between the two is usually one config mistake: a public bind address, an account with no password, or a wildcard grant left over from a migration.
- Read-only, safe on production
- No agent installed
- ~78s for the category
- 10 distros auto-detected
How much of this is serious?
Severity of all 37 Database checks, as the scripts rate them.
- 19High severity51%
- 15Medium severity41%
- 3Low severity8%
What these audits cover
- Passwordless accounts, anonymous users, remote root logins and available auth methods
- Listening interfaces, exposed ports and web-based admin tools left reachable
- Wildcard host grants, the FILE privilege and accounts holding more than they need
- TLS enforcement for client connections and where credentials are stored on disk
What they do not cover
- Query-level issues. SQL injection lives in your application code, not in the database configuration.
- Backup integrity. Whether a dump restores cleanly is not something a configuration read can tell you.
- Managed database services. On RDS, Cloud SQL or Atlas the provider owns most of this surface.
The 6 Database audits
Each audit detects which engines are installed and skips the rest, so a Postgres-only host reports on Postgres and stays quiet about the others.
Authentication
SoonPasswordless access, anonymous users, remote root and auth methods
Configuration & Hardening
SoonService users, installer defaults, patches, log placement and backups
Network Isolation
SoonEngine inventory, bindings, exposed ports and web admin tools
Least-Privilege Permissions
SoonWildcard hosts, FILE privilege, admin accounts and allowed hosts
Transport Encryption
SoonTLS enforcement and server certificates for client connections
Credential Storage
SoonConfig files in the web root, config permissions, exposed .git and client credential files
Other categories
Database security questions
Run all 37 Database checks, in one click
CtrlOps runs these audits over your existing SSH connection - no agents, no scripts to manage. $7/user/month after a 1 month free trial - no credit card required.
✓ Start instantly·✓ No credit card·✓ No sneaky autorenewals