Skip to content
Offensive Security Glossary / Security Misconfiguration

Security Misconfiguration: Now Number Two in the OWASP Top 10

The settings, defaults and exposed features that create exploitable weaknesses without a single line of vulnerable code.

What Is Security Misconfiguration

Security misconfiguration is a class of weakness in which a system, application, framework or cloud service is deployed with insecure settings, such as default credentials, unnecessary features enabled, verbose errors, missing security headers or overly permissive access policies. It is A02:2025 in the OWASP Top 10, up from fifth place in 2021, and API8:2023 in the OWASP API Security Top 10.

OWASP reports that in its 2025 dataset 3.00 percent of applications tested had one or more of the 16 CWEs mapped to this category. Its rise reflects how much application behavior is now defined by configuration: cloud IAM policies, container settings, framework flags and infrastructure-as-code templates.

Common Examples

LayerMisconfigurationTypical impact
ApplicationDebug mode or stack traces enabled in productionLeaks source paths, library versions, secrets
ApplicationDefault or sample admin accounts and pages left enabledDirect administrative access
Web serverDirectory listing, exposed .git or backup filesSource code and credential disclosure
HTTPPermissive CORS (reflecting any origin with credentials)Cross-origin data theft from authenticated users
HTTPMissing security headers (CSP, HSTS, frame options)Weaker defense against XSS, downgrade and clickjacking
APIExposed documentation, GraphQL introspection or debug endpoints in productionFull attack-surface map for attackers
CloudPublicly readable storage buckets, over-privileged IAM rolesData exposure, privilege escalation
PlatformUnauthenticated management interfaces (Kubernetes, Docker, databases)Cluster or data compromise

Why It Matters

Misconfigurations are often the first link in a chain. A verbose error reveals a framework version, an exposed admin panel accepts default credentials, and a permissive cloud role turns application access into account access. They also drift: a secure baseline at deployment changes as engineers debug incidents, add features and copy templates. Point-in-time audits miss configuration that changed after the audit, which is one argument for continuous testing.

How It Is Tested

  • Fingerprint the stack and compare against vendor hardening guidance and CIS Benchmarks.
  • Probe for default credentials, default pages, debug endpoints and exposed files (/.git/, /.env, backup archives).
  • Review response headers, cookie flags, TLS configuration and CORS behavior with crafted Origin headers.
  • Trigger error conditions to see what the application discloses.
  • For cloud, review policies and test effective permissions from the application's identity.
  • Validate impact: a finding is stronger when the misconfiguration is shown to expose data or enable access, not only when a header is absent.

Prevention

  • A repeatable, automated hardening process so every environment is configured identically, with different credentials per environment.
  • A minimal platform: remove unused features, components, samples and documentation.
  • Configuration as code with review and policy checks in CI.
  • Segmented architecture and least-privilege identities for services.
  • Automated verification of settings in all environments, plus periodic adversarial testing to confirm what is actually reachable.

Standards Mapping

FrameworkReference
OWASP Top 10 (2025)A02:2025 Security Misconfiguration
OWASP API Security Top 10API8:2023 Security Misconfiguration
CWEExamples include CWE-16 (Configuration category), CWE-611 (XXE), CWE-942 (permissive cross-domain policy)
BenchmarksCIS Benchmarks for operating systems, cloud and platforms

How FireCompass Tests for Misconfiguration

FireCompass discovers internet-facing assets through attack surface management and its AI agents test the exposed applications and services for misconfigurations, prioritizing those that can be shown to lead to access or data exposure.

Sources and Standards

Frequently Asked Questions

Where does security misconfiguration rank in the OWASP Top 10:2025?

Second, as A02:2025. It moved up from fifth place in the 2021 edition.

Is a missing security header a vulnerability?

On its own it is usually a hardening gap. It becomes a meaningful finding when it enables an attack, for example missing CSP on a page with an XSS flaw, or missing frame protection on a sensitive action.

How is misconfiguration different from a software vulnerability?

A software vulnerability is a flaw in code that needs a patch. A misconfiguration is an insecure setting in correctly working software, fixed by changing configuration.

Can scanners find misconfigurations?

Scanners and CSPM tools find many known patterns. Proving which ones are exploitable in context, such as a permissive CORS policy that actually leaks authenticated data, requires manual or agent-driven validation.

Further Reading

Reviewed against the primary sources cited on this page. Verified 2026-12-02.

See Which Misconfigurations Are Actually Exploitable

Run a free AI pentest and get misconfiguration findings validated against your live environment.

Free AI Pen Test

No credit card. Findings include reproducible steps and exploit code.

Firecompass ranked #1 AI on HackerOne. Read more →