Pcornel
Security · OWASP

Security Misconfiguration

Cheat sheet · https://pcornel.dk/topic.php?topic=4771

Back to the Topic

Answer

Security misconfiguration (OWASP A05) covers default accounts, verbose errors, open cloud storage, unnecessary features and missing hardening. Use repeatable hardened builds and automated configuration checks.

Remember

  • Use hardened, repeatable builds.
  • Remove default accounts and samples.
  • Automate configuration checks.

First checks

  • Config scans (headers, debug, default accounts) — misconfigurations
  • curl -sI https://<site> — debug/stack traces/banners
  • Cloud config posture (CSPM) — cloud misconfig

Verify in this order

deployment → config scan → fix

Where it usually breaks

First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4771

Confirmation

Confirm action

Continue?