WPSecureOps

Glossary · Public files

A config, backup or log file is publicly accessible

Wordfence type
publiclyAccessible
Category
Public files
Severity
High to Critical depending on the file

A file that should never be reachable over HTTP returns a 200 to anyone who requests it.

What Wordfence found

Wordfence requested the file over HTTP the way a visitor would and got a successful response. The finding names the path. Common cases are wp-config backups, .env files, SQL dumps and debug logs.

Why it matters

This needs no exploit at all. Anyone who guesses the filename downloads it, and automated scanners guess thousands of filenames a day across the whole internet. If the file contains database credentials or API keys, the compromise is complete and silent — nothing in the logs will look unusual.

How to fix it

  1. 1Delete the file. Editors that leave wp-config.php.bak or wp-config.old are the usual source.
  2. 2Assume anything it contained is exposed: rotate database credentials, API keys and salts.
  3. 3Block the pattern at the web server so a future deploy cannot re-expose it.
  4. 4Move backups out of the web root entirely rather than relying on obscurity.
  5. 5Re-request the URL yourself to confirm it now returns 403 or 404.

Findings that often appear with this one

How WPSecureOps treats it

The connector reports this as publiclyAccessible. WPSecureOps files it under Public files and bands it by the numeric severity Wordfence assigns, so findings of this kind from every site you manage arrive in one queue rather than one email per site. Titles and descriptions are stripped of HTML and the site's absolute path is replaced before anything leaves the server.

See this finding in context