Skip to content
OpenAdvisories

Weakness (CWE)

CWE-12: ASP.NET Misconfiguration: Missing Custom Error Page

Variant Draft

An ASP .NET application must enable custom error pages in order to prevent attackers from mining information from the framework's built-in responses.

How to prevent it (3 mitigations)
  1. System Configuration

    Handle exceptions appropriately in source code. ASP .NET applications should be configured to use custom error pages instead of the framework default page.

  2. Architecture and Design

    Do not attempt to process an error or attempt to mask it.

  3. Implementation

    Verify return values are correct and do not supply sensitive information about the system.

Source: MITRE CWE-12

0 results · Clear filters · Feed

Nothing found.