Objective
Verify that security-relevant application platform configuration is explicitly defined, appropriately hardened and consistent with the approved security baseline for the target environment.
Application platforms include the runtime, framework, application server and other platform components on which the application operates.
The objective is not to determine whether a particular vendor or framework is inherently secure. The objective is to identify configuration conditions that create unnecessary security exposure.
Scope
Include the following where applicable:
Prerequisites
Before beginning the assessment, the tester should establish the following information.
| Authorization | Confirm explicit authorization to assess the target environment. |
|---|---|
| Environment | Identify whether the target is development, staging, production or another environment. |
| Platform | Identify the relevant runtime, framework and application server. |
| Baseline | Obtain the approved configuration or security baseline where available. |
| Access | Obtain the minimum access required to perform the review. |
Methodology
Use a combination of configuration review and controlled behavioral verification. Do not rely exclusively on automated scanners because a scanner cannot determine whether every configuration value is appropriate for the application's intended design.
| Method | Purpose |
|---|---|
| Documentation review | Establish intended security configuration. |
| Configuration inspection | Identify insecure or unnecessary settings. |
| Runtime verification | Confirm the effective configuration. |
| Baseline comparison | Identify unexplained deviations. |
Test procedure
Perform this procedure only on systems for which you have explicit authorization. Prefer a controlled staging environment when production access is not necessary.
Example configuration review
environment = production
debug = false
directory_indexing = false
detailed_errors = false
development_tools = disabled
default_accounts = disabled
unnecessary_services = disabled
The values above are illustrative. The actual secure configuration must be determined from the platform, application architecture and approved security requirements.
Expected result
Security-relevant platform configuration conforms to the approved baseline, unnecessary functionality is disabled or appropriately restricted, and the effective runtime behavior matches the intended configuration.
Minor differences that are intentional, documented and approved should not automatically be classified as security findings.
Failure criteria
Consider the test failed when one or more of the following conditions are confirmed:
A configuration difference is not necessarily a vulnerability. Establish whether the difference creates a security exposure and whether it is intentional and approved.
Remediation
Correct the identified configuration according to the platform's supported security configuration mechanisms.
Recommended approach
- Establish the required secure configuration.
- Remove unnecessary functionality.
- Disable development and diagnostic functionality in production.
- Remove or securely change default configuration and accounts.
- Apply least privilege to platform services.
- Store environment-specific configuration securely.
- Implement configuration validation during deployment.
- Document approved exceptions.
Changing settings individually without documenting the intended final state can create configuration drift and make future verification difficult.
Verification
Repeat the original test after remediation. Verification should establish that the insecure condition no longer exists and that legitimate application functionality continues to operate.
Verification procedure
The configuration and effective behavior satisfy the defined requirement.
The security condition remains present after remediation.
The required evidence or test condition could not be evaluated.
Evidence requirements
Evidence should be sufficient for another qualified reviewer to understand what was tested, what was observed and how the result was determined.
Evidence handling
Do not publish credentials, secrets, session tokens, private keys or other sensitive information as evidence. Redact sensitive values while retaining enough contextual information to demonstrate the result.
Classification
| WebOTG procedure | WebOTG-SM-001 |
|---|---|
| OWASP category | A02:2025 — Security Misconfiguration |
| Procedure type | Configuration and deployment review |
| Assessment result | PASS / FAIL / NOT TESTED |
| Finding severity | Determine separately based on the confirmed impact and affected scope. |
WebOTG-SM-001 is a WebOTG-defined verification procedure. The identifier is not an OWASP test identifier.
References
| Source | Relevance |
|---|---|
| OWASP Top 10:2025 — A02 | Primary category reference for Security Misconfiguration. |
| OWASP WSTG | Configuration and Deployment Management Testing methodology. |
| OWASP ASVS | Application security verification requirements. |
| CWE | Weakness classification reference. |
WebOTG should maintain the source URLs and version information in its content-management system so references can be updated without modifying page templates.