CWE-58 路径等价:Windows8.3形式文件名

Path Equivalence: Windows 8.3 Filename

结构: Simple

Abstraction: Variant

状态: Incomplete

被利用可能性: unkown

基本描述

The software contains a protection mechanism that restricts access to a long filename on a Windows operating system, but the software does not properly restrict access to the equivalent short "8.3" filename.

扩展描述

On later Windows operating systems, a file can have a "long name" and a short name that is compatible with older Windows file systems, with up to 8 characters in the filename and 3 characters for the extension. These "8.3" filenames, therefore, act as an alternate name for files with long names, so they are useful pathname equivalence manipulations.

相关缺陷

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

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

适用平台

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

Operating_System: {'cwe_Class': 'Windows', 'cwe_Prevalence': 'Undetermined'}

常见的影响

范围 影响 注释
['Confidentiality', 'Integrity'] ['Read Files or Directories', 'Modify Files or Directories']

可能的缓解方案

System Configuration

策略:

Disable Windows from supporting 8.3 filenames by editing the Windows registry. Preventing 8.3 filenames will not remove previously generated 8.3 filenames.

分析过的案例

标识 说明 链接
CVE-1999-0012 Multiple web servers allow restriction bypass using 8.3 names instead of long names https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-1999-0012
CVE-2001-0795 Source code disclosure using 8.3 file name. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2001-0795
CVE-2005-0471 Multi-Factor Vulnerability. Product generates temporary filenames using long filenames, which become predictable in 8.3 format. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0471

Notes

分类映射

映射的分类名 ImNode ID Fit Mapped Node Name
PLOVER Windows 8.3 Filename
Software Fault Patterns SFP16 Path Traversal

引用