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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-219 (Web根目录下的敏感数据) — Vulnerability Class 5

5 vulnerabilities classified as CWE-219 (Web根目录下的敏感数据). AI Chinese analysis included.

CWE-219 represents a critical configuration weakness where sensitive data, such as credentials or private keys, is inadvertently stored within the web server’s document root directory. This vulnerability typically arises when developers place non-public files in accessible directories without implementing strict access controls or proper server configuration. Attackers exploit this oversight by directly requesting the file’s URL through a web browser or automated tool, bypassing application-level security checks to retrieve confidential information. To prevent this, developers must segregate sensitive data from publicly accessible web content, storing such files outside the document root entirely. Additionally, configuring web servers to deny direct access to specific file types or directories, and employing robust access control mechanisms, ensures that only authorized application logic can interact with protected resources, thereby mitigating the risk of unauthorized disclosure.

MITRE CWE Description
The product stores sensitive data under the web document root with insufficient access control, which might make it accessible to untrusted parties. Besides public-facing web pages and code, products may store sensitive data, code that is not directly invoked, or other files under the web document root of the web server. If the server is not configured or otherwise used to prevent direct access to those files, then attackers may obtain this sensitive data.
Common Consequences (1)
ConfidentialityRead Application Data
Mitigations (2)
Implementation, System ConfigurationAvoid storing information under the web root directory.
System ConfigurationAccess control permissions should be set to prevent reading/writing of sensitive files inside/outside of the web directory.

Vulnerabilities classified as CWE-219 (Web根目录下的敏感数据) represent 5 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.