Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-756 (定制错误页面缺失) — Vulnerability Class 3

3 vulnerabilities classified as CWE-756 (定制错误页面缺失). AI Chinese analysis included.

CWE-756 represents a critical information disclosure weakness where applications fail to implement custom error pages, instead relying on default system-generated responses. This oversight typically allows attackers to exploit the vulnerability by triggering specific error conditions, such as malformed URLs or invalid inputs, to reveal detailed stack traces, server software versions, or internal file paths. Such exposed technical data significantly aids adversaries in crafting targeted exploits and mapping the application’s architecture. To mitigate this risk, developers must configure their web servers and frameworks to suppress verbose error messages in production environments. Implementing standardized, user-friendly error pages that provide no technical details ensures that sensitive backend information remains hidden. This practice not only protects the application’s integrity but also adheres to security best practices by minimizing the attack surface available to potential intruders during troubleshooting scenarios.

MITRE CWE Description
The product does not return custom error pages to the user, possibly exposing sensitive information.
Common Consequences (1)
ConfidentialityRead Application Data
Attackers can leverage the additional information provided by a default error page to mount attacks targeted on the framework, database, or other resources used by the application.
Examples (2)
In the snippet below, an unchecked runtime exception thrown from within the try block may cause the container to display its default error page (which may contain a full stack trace, among other things).
Public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { try { ... } catch (ApplicationSpecificException ase) { logger.error("Caught: " + ase.toString()); } }
Bad · Java
The mode attribute of the <customErrors> tag in the Web.config file defines whether custom or default error pages are used.
<customErrors mode="Off" />
Bad · ASP.NET
<customErrors mode="RemoteOnly" />
Good · ASP.NET
CVE IDTitleCVSSSeverityPublished
CVE-2023-27998 Fortinet FortiPresence 安全漏洞 — FortiPresence 5.3 Medium2023-09-13
CVE-2022-3175 Missing Custom Error Page in ikus060/rdiffweb — ikus060/rdiffweb 8.2 -2022-09-13
CVE-2018-8913 Synology Web Station 输入验证错误漏洞 — Web Station 6.1 -2019-04-01

Vulnerabilities classified as CWE-756 (定制错误页面缺失) represent 3 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.