WebOTG Security Testing Library ● Public reference
WebOTG
WEBOTG SECURITY TESTING PROCEDURE

WebOTG-SM-016 — Default or Unnecessary Services Enabled

A structured procedure for identifying unnecessary, default, legacy or unintentionally exposed services and application functionality that increase the externally reachable attack surface.

WebOTG ID SM-016 OWASP A02:2025 Type Service Configuration Method Exposure Review Version 1.0
01 / OBJECTIVE

Objective

What are we verifying?

Verify that only services, interfaces and application functionality required for the intended operation of the system are exposed and that unnecessary or default components are disabled or appropriately restricted.

Web applications frequently depend on multiple layers: web servers, reverse proxies, application servers, management interfaces, monitoring components, debugging tools and third-party services.

Every externally reachable component increases the system's attack surface. Components that are installed by default, no longer required or unintentionally exposed may introduce additional vulnerabilities or disclose information about the environment.

Do not treat every exposed service as a vulnerability

A service is not automatically insecure merely because it is reachable. The assessment must establish whether the service is required, authorized, appropriately protected and consistent with the documented system architecture.

02 / SCOPE

Scope

Review externally reachable and application-accessible components including:

Web server services
Reverse proxy and gateway interfaces
Administrative interfaces
Debug and development functionality
Default application pages
Health and diagnostic endpoints
Monitoring and management endpoints
Legacy or unused application components
Unnecessary network-facing services
03 / PREREQUISITES

Prerequisites

Authorization Confirm authorization to assess the application's exposed services and interfaces.
Architecture Obtain the relevant application and infrastructure architecture where available.
Service inventory Identify expected web servers, proxies, application services and management interfaces.
Environment information Determine whether the target represents development, testing, staging or production infrastructure.
04 / METHODOLOGY

Methodology

Establish the intended service baseline and compare it with the services and interfaces actually exposed by the deployed system.

Review Purpose
Service inventory review Identify expected services and determine whether exposed components have a documented business or technical purpose.
Endpoint discovery Identify publicly reachable application, administrative and diagnostic interfaces.
Default-content review Identify vendor default pages, sample applications and installation artifacts.
Configuration review Determine whether unnecessary services and modules are disabled or restricted.
Access-control review Verify that required management and diagnostic services are appropriately protected.
05 / PROCEDURE

Test procedure

01
Establish the expected service baseline Document the services and interfaces required for the application's intended operation.
02
Identify externally exposed components Review authorized application endpoints, service exposure information and infrastructure configuration available to the assessor.
03
Review default interfaces Check for vendor default pages, sample content, installation screens and unused management interfaces.
04
Review administrative functionality Determine whether management interfaces are unnecessarily exposed to untrusted networks.
05
Review debugging and diagnostics Identify development, debugging, profiling and diagnostic features that are enabled in the deployed environment.
06
Determine necessity For every identified component, establish its business or operational purpose and required exposure.
07
Assess protection Where a service is required, verify that access is appropriately restricted and authenticated.
06 / SERVICE CATEGORIES

Service and functionality categories

Category Review focus
Default pages Vendor installation pages, welcome pages and sample applications should not remain unintentionally accessible.
Debug functionality Development and debugging features should not be unnecessarily enabled in production.
Administration Management interfaces should be restricted to authorized users and appropriate networks.
Diagnostics Diagnostic endpoints should expose only information required for their operational purpose.
Monitoring Monitoring interfaces should not be unnecessarily exposed to public users.
Legacy components Deprecated modules, old application paths and unused services should be removed or disabled.
Network-facing services Services should be exposed only where required by the documented architecture.

Example default-content finding

HTTP response EXAMPLE
HTTP/1.1 200 OK
Content-Type: text/html

Server installation / default welcome page
Application functionality: not required

The presence of a default page is evidence of unnecessary deployed content only when the page is not intentionally required. Confirm the deployment baseline before raising a finding.

07 / ASSESSMENT

Assessment

Condition Assessment consideration
Required and appropriately restricted No finding solely because the service exists.
Required but unnecessarily exposed Assess whether network or access-control restrictions are insufficient.
Unnecessary service Recommend removal or disabling where operationally feasible.
Default component Determine whether it is an installation artifact or intentionally deployed.
Debug/development feature in production Determine whether it exposes sensitive information or unnecessary functionality.
08 / EXPECTED RESULT

Expected result

Pass condition

The deployed environment exposes only services, interfaces and functionality required by its documented architecture, and required administrative, diagnostic or operational services are appropriately restricted.

Production deployments should not unnecessarily expose installation artifacts, sample applications, development functionality, debugging interfaces or unused management services.

09 / FAILURE CRITERIA

Failure criteria

A default installation interface remains publicly accessible without a legitimate operational purpose.
An unnecessary administrative interface is exposed to an untrusted network.
Debug or development functionality remains enabled in a production deployment without justification.
An obsolete or unused component remains reachable from the application.
A required management or monitoring service lacks appropriate access restrictions.
The deployed service exposure materially exceeds the documented architecture without justification.
Example finding UNNECESSARY SERVICE

A production web deployment exposes a management interface that is not required for public application operation and is reachable from an untrusted network. The interface should be removed from public exposure or restricted to authorized management networks.

10 / REMEDIATION

Remediation

Reduce the deployed attack surface by removing unnecessary components and restricting services that are required for administration or operations.

Recommended approach

  1. Maintain an authoritative inventory of deployed services and application components.
  2. Identify the business or operational purpose of each externally reachable component.
  3. Remove unused services, modules and applications.
  4. Disable default sample content and installation interfaces after deployment.
  5. Disable development and debugging functionality in production unless explicitly required.
  6. Restrict administrative and management interfaces to authorized users and appropriate networks.
  7. Restrict diagnostic and monitoring endpoints to their intended consumers.
  8. Remove obsolete application paths and legacy components.
  9. Apply infrastructure configuration consistently across production instances.
  10. Re-test service exposure after deployment changes.

Example deployment baseline

Service exposure policy EXAMPLE
Public application
    ├── Required web service
    └── Required application endpoints

Management
    ├── Restricted network access
    └── Strong authentication

Diagnostics
    ├── Restricted access
    └── Minimum required information

Development
    ├── Debug features disabled
    └── Sample applications removed

Legacy
    └── Unused components removed
Prefer removal over obscurity

Hiding an unnecessary service behind an obscure URL does not remove the underlying attack surface. When a component is not required, removal or complete disabling is generally preferable to relying on obscurity.

11 / VERIFICATION

Verification

01
Rebuild the expected service baseline Confirm the list of services and interfaces that should remain exposed.
02
Verify removal Confirm that unnecessary services, modules, default pages and obsolete endpoints are no longer reachable.
03
Verify restricted services Confirm that required administrative, diagnostic and monitoring interfaces are accessible only through intended controls.
04
Verify production configuration Confirm that debug, development and sample functionality is disabled in production.
05
Test representative endpoints Confirm that legitimate application functionality remains available after unnecessary components are removed.
06
Verify persistence Confirm that the secure configuration survives redeployment, scaling and infrastructure changes.
PASS

Only required services are exposed and management or diagnostic functionality is appropriately restricted.

FAIL

An unnecessary or inadequately restricted service remains exposed.

NOT TESTED

The effective service exposure or configuration could not be adequately determined.

12 / EVIDENCE

Evidence requirements

Expected service inventory
Tested service or endpoint
Evidence of default or unnecessary functionality
Network or access-control configuration where applicable
Before-remediation evidence
Remediation configuration
Post-remediation verification
Application functionality validation
Final PASS / FAIL determination
Sanitize infrastructure evidence

Remove credentials, private network addresses, internal hostnames, management URLs, access tokens and other sensitive infrastructure information before publishing or sharing assessment evidence.

13 / CLASSIFICATION

Classification

WebOTG procedure WebOTG-SM-016
OWASP category A02:2025 — Security Misconfiguration
Procedure type Service and deployment exposure review
Assessment result PASS / FAIL / NOT TESTED
Finding severity Determine from the exposed service, accessibility, authentication controls, information or functionality exposed, exploitability and resulting security impact.
WebOTG classification notice

WebOTG-SM-016 is a WebOTG-defined verification procedure. The identifier is not an OWASP-defined test identifier.

14 / REFERENCES

References

Source Relevance
OWASP Top 10:2025 — A02 Security Misconfiguration category.
OWASP Web Security Testing Guide Web application security testing methodology and configuration review.
OWASP Application Security Verification Standard Application security verification requirements relevant to secure configuration and deployment.
Application architecture documentation Defines services and components intentionally required by the deployment.
Infrastructure security baseline Defines organizational requirements for service exposure and management access.

WebOTG should maintain official source URLs, source versions and review dates through its content-management system so references can be updated independently of the procedure template.