CWE-219 Web根目录下的敏感数据

Sensitive Data Under Web Root

结构: Simple

Abstraction: Variant

状态: Draft

被利用可能性: unkown

基本描述

The application stores sensitive data under the web document root with insufficient access control, which might make it accessible to untrusted parties.

相关缺陷

  • cwe_Nature: ChildOf cwe_CWE_ID: 216 cwe_View_ID: 699 cwe_Ordinal: Primary

  • cwe_Nature: ChildOf cwe_CWE_ID: 216 cwe_View_ID: 1000

  • cwe_Nature: ChildOf cwe_CWE_ID: 285 cwe_View_ID: 1000 cwe_Ordinal: Primary

  • cwe_Nature: CanPrecede cwe_CWE_ID: 668 cwe_View_ID: 1000

适用平台

Language: {'cwe_Class': 'Language-Independent', 'cwe_Prevalence': 'Undetermined'}

常见的影响

范围 影响 注释
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. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1835
CVE-2005-2217 Data file under web root. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2217
CVE-2002-1449 Username/password in data file under web root. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-1449
CVE-2002-0943 Database file under web root. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0943
CVE-2005-1645 database file under web root. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1645

分类映射

映射的分类名 ImNode ID Fit Mapped Node Name
PLOVER Sensitive Data Under Web Root
OWASP Top Ten 2004 A10 CWE More Specific Insecure Configuration Management