CWE-219: Storage of File with Sensitive Data Under Web Root

Variant Draft Simple

CWE版本: 4.18

更新日期: 2025-09-09

弱点描述

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.

常见后果

影响范围: Confidentiality

技术影响: Read Application Data

潜在缓解措施

阶段: Implementation System Configuration

描述: Avoid storing information under the web root directory.

阶段: System Configuration

描述: Access control permissions should be set to prevent reading/writing of sensitive files inside/outside of the web directory.

观察示例

参考: CVE-2005-1835

Data file under web root.

参考: CVE-2005-2217

Data file under web root.

参考: CVE-2002-1449

Username/password in data file under web root.

参考: CVE-2002-0943

Database file under web root.

参考: CVE-2005-1645

database file under web root.

引入模式

阶段 说明
Operation COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic.
Implementation COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic.

适用平台

编程语言
Not Language-Specific (Undetermined)

分类映射

分类名称 条目ID 条目名称 映射适配度
PLOVER - Sensitive Data Under Web Root -
OWASP Top Ten 2004 A10 Insecure Configuration Management CWE More Specific
关键信息

CWE ID: CWE-219

抽象级别: Variant

结构: Simple

状态: Draft

相关弱点