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
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
| Layer | Misconfiguration | Typical impact |
|---|---|---|
| Application | Debug mode or stack traces enabled in production | Leaks source paths, library versions, secrets |
| Application | Default or sample admin accounts and pages left enabled | Direct administrative access |
| Web server | Directory listing, exposed .git or backup files | Source code and credential disclosure |
| HTTP | Permissive CORS (reflecting any origin with credentials) | Cross-origin data theft from authenticated users |
| HTTP | Missing security headers (CSP, HSTS, frame options) | Weaker defense against XSS, downgrade and clickjacking |
| API | Exposed documentation, GraphQL introspection or debug endpoints in production | Full attack-surface map for attackers |
| Cloud | Publicly readable storage buckets, over-privileged IAM roles | Data exposure, privilege escalation |
| Platform | Unauthenticated 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
Originheaders. - 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
| Framework | Reference |
|---|---|
| OWASP Top 10 (2025) | A02:2025 Security Misconfiguration |
| OWASP API Security Top 10 | API8:2023 Security Misconfiguration |
| CWE | Examples include CWE-16 (Configuration category), CWE-611 (XXE), CWE-942 (permissive cross-domain policy) |
| Benchmarks | CIS 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
- OWASP Top 10:2025 Introduction (A02 data and ranking)
- OWASP API Security Top 10 2023: API8 Security Misconfiguration
- CIS Benchmarks
- MITRE CWE-942: Permissive Cross-domain Policy with Untrusted Domains
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
- FireCompass external attack surface management
- Shipped to the Browser: How FireCompass's Agentic AI Penetration Testing Found API Keys and Signing Secrets Hardcoded Into Client-Side Code Across Ten Independent Programs
- Nine Programs, Nine Organizations, One Forgotten DNS Record: How FireCompass's Agentic AI Penetration Testing Found Subdomain Takeover Risk Across Five Cloud and CDN Providers
Related Terms
See Which Misconfigurations Are Actually Exploitable
Run a free AI pentest and get misconfiguration findings validated against your live environment.
Free AI Pen TestNo credit card. Findings include reproducible steps and exploit code.
