Błędna konfiguracja bezpieczeństwa — niezabezpieczone ustawienia, domyślne konfiguracje lub niewłaściwe konfiguracje — to jedna z najczęstszych słabości bezpieczeństwa (ryzyko z listy OWASP Top 10). Obejmuje ujawnione domyślne ustawienia, niepotrzebne funkcje, szczegółowe komunikaty o błędach i brakujące wzmocnienie bezpieczeństwa. Unikanie tego wymaga bezpiecznej i świadomej konfiguracji.
Typowe błędy konfiguracji
✗ INSECURE DEFAULTS left unchanged → default passwords, default accounts, sample content
✗ Unnecessary FEATURES/services/ports enabled → larger attack surface
✗ VERBOSE ERRORS in production → stack traces leaking internal details to attackers
✗ Missing SECURITY HEADERS; misconfigured CORS (allow-all); directory listing enabled
✗ Exposed admin/management interfaces or debug endpoints publicly
✗ Cloud misconfigs → public storage buckets, open databases, over-permissive access
✗ Outdated software / unpatched systems; overly permissive file/access permissions
