Security Misconfigurations

Check:

  1. Default credentials

    • admin:admin, root:root

    • Check documentation for defaults

  2. Directory listing

    • Check if /uploads/, /files/, /backup/ are browsable

  3. Exposed sensitive files

    • /.env, /config.php, /web.config

    • /.git/ (download with git-dumper)

    • /backup.zip, /db.sql

    • /.aws/credentials

  4. Debug mode enabled

    • Stack traces exposed

    • Verbose error messages

  5. Missing security headers

    • X-Frame-Options (Clickjacking)

    • X-Content-Type-Options

    • Strict-Transport-Security

    • Content-Security-Policy

  6. CORS misconfiguration

    • Reflected Origin header

    • Wildcard with credentials

Tools

Last updated