CWE-548 通过目录枚举导致的信息暴露

admin 2021年12月4日16:21:26评论142 views字数 1385阅读4分37秒阅读模式

CWE-548 通过目录枚举导致的信息暴露

Information Exposure Through Directory Listing

结构: Simple

Abstraction: Variant

状态: Draft

被利用可能性: unkown

基本描述

A directory listing is inappropriately exposed, yielding potentially sensitive information to attackers.

扩展描述

A directory listing provides an attacker with the complete index of all the resources located inside of the directory. The specific risks and consequences vary depending on which files are listed and accessible.

相关缺陷

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

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

  • cwe_Nature: ChildOf cwe_CWE_ID: 552 cwe_View_ID: 1000

常见的影响

范围 影响 注释
Confidentiality Read Files or Directories Exposing the contents of a directory can lead to an attacker gaining access to source code or providing useful information for the attacker to devise exploits, such as creation times of files or any information that may be encoded in file names. The directory listing may also compromise private or confidential data.

可能的缓解方案

['Architecture and Design', 'System Configuration']

策略:

Recommendations include restricting access to important directories or files by adopting a need to know requirement for both the document and server root, and turning off features such as Automatic Directory Listings that could expose private files and provide information that could be utilized by an attacker when formulating or conducting an attack.

分类映射

映射的分类名 ImNode ID Fit Mapped Node Name
OWASP Top Ten 2004 A10 CWE More Specific Insecure Configuration Management
WASC 16 Directory Indexing

文章来源于互联网:scap中文网

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2021年12月4日16:21:26
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   CWE-548 通过目录枚举导致的信息暴露https://cn-sec.com/archives/613397.html

发表评论

匿名网友 填写信息