Exposed Backups and Database Dumps
EasyLooks for database dumps and site archives downloadable from the web root.
What this check looks for
StackShield requests the names backups are usually given, such as /backup.sql, /dump.sql.gz, /database.sqlite and archives named after your domain. It asks for only the first two kilobytes of each and checks whether they are a real SQL dump, SQLite file or archive, so a site that answers every URL with a page produces no findings.
Why it matters
A dump made during a migration or a zip made before a risky deploy is easy to leave in the web root, and the web server will hand it to anyone who guesses the name. Attackers guess these names constantly. One file can contain every user record and password hash, or the full source code with its .env.
What a failed check means
The file is public and may already have been downloaded. Delete it, rotate the credentials it contains and treat the data as disclosed. A SQL dump or SQLite database is rated critical; a zip or gzip archive is rated high because its contents cannot be seen without downloading all of it.
Write backups to a private disk outside public/, and serve only the public directory as the document root.
Automatically detect this issue
StackShield can automatically scan your Laravel application for this security issue and alert you when it's detected.
Start Free Trial