Use this when defaults, verbose errors or open storage expose an app (OWASP A05).
Security Misconfiguration
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.
1. Security misconfiguration: defaults, debug modes, open storage, verbose errors, missing headers.
2. Hardened, repeatable configs.
3. Remove samples.
4. Automated checks.
5. Minimal platforms.
deployment → config scan → fix
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Finding misconfiguration Verify boundary
- Scan with ZAP/Nikto for default pages, directory listing and exposed files.
- Check cloud configurations with CSPM tools or Prowler/ScoutSuite.
- Compare servers with CIS benchmarks (
lynis audit system, CIS-CAT). - Review HTTP response headers and error pages.
Step 2 Common mistakes Narrow the fault
- Default accounts and verbose errors in production.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Use hardened, repeatable builds.
- Remove default accounts and samples.
- Automate configuration checks.
- Config scans (headers, debug, default accounts) — misconfigurations
curl -sI https://<site>— debug/stack traces/banners- Cloud config posture (CSPM) — cloud misconfig
ReferenceWhy it matters1 section · depth on demand
Checklist
- Remove default accounts and sample applications.
- Disable directory listing, debug modes and verbose errors in production.
- Lock down cloud storage (no public buckets by default).
- Apply hardening baselines (CIS) through automation so every environment is the same.
- Scan configuration regularly (CSPM, configuration audits).
ReferenceHow it works1 section · depth on demand
In depth
Security misconfiguration covers insecure settings anywhere in the stack: default accounts and passwords, verbose error messages, unnecessary features, open cloud storage, missing security headers, outdated configurations. It is common because systems are complex and defaults favour convenience.
Prevention:
- Hardened, repeatable configuration from code (IaC, configuration management).
- Minimal installations — remove unused features, samples and admin consoles.
- Different credentials per environment; no defaults.
- Security headers and generic error pages in production.
- Automated configuration scanning (CSPM, CIS benchmarks, container scanning).
- Regular review of cloud permissions and exposure.
ReferenceImportant terms & boundaries1 section · depth on demand
Examples
- Default admin accounts or passwords left on appliances and frameworks.
- Directory listing enabled, or
.git/reachable on the web server. - Verbose stack traces shown to users.
- Cloud storage buckets public by mistake.
- Debug endpoints (Spring Boot Actuator
/env,/heapdump) exposed. - Unnecessary HTTP methods (TRACE, PUT) enabled.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in OWASP → Security Misconfiguration. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://owasp.org/www-project-application-security-verification-standard/ · confidence 94%