CWE-50: Path Equivalence: '//multiple/leading/slash'
CWE版本: 4.18
更新日期: 2025-09-09
弱点描述
The product accepts path input in the form of multiple leading slash ('//multiple/leading/slash') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files.
常见后果
影响范围: Confidentiality Integrity
技术影响: Read Files or Directories Modify Files or Directories
观察示例
参考: CVE-2002-1483
Read files with full pathname using multiple internal slash.
参考: CVE-1999-1456
Server allows remote attackers to read arbitrary files via a GET request with more than one leading / (slash) character in the filename.
参考: CVE-2004-0578
Server allows remote attackers to read arbitrary files via leading slash (//) characters in a URL request.
参考: CVE-2002-0275
Server allows remote attackers to bypass authentication and read restricted files via an extra / (slash) in the requested URL.
参考: CVE-2004-1032
Product allows local users to delete arbitrary files or create arbitrary empty files via a target filename with a large number of leading slash (/) characters.
参考: CVE-2002-1238
Server allows remote attackers to bypass access restrictions for files via an HTTP request with a sequence of multiple / (slash) characters such as http://www.example.com///file/.
参考: CVE-2004-1878
Product allows remote attackers to bypass authentication, obtain sensitive information, or gain access via a direct request to admin/user.pl preceded by // (double leading slash).
参考: CVE-2005-1365
Server allows remote attackers to execute arbitrary commands via a URL with multiple leading "/" (slash) characters and ".." sequences.
参考: CVE-2000-1050
Access directory using multiple leading slash.
参考: CVE-2001-1072
Bypass access restrictions via multiple leading slash, which causes a regular expression to fail.
参考: CVE-2004-0235
Archive extracts to arbitrary files using multiple leading slash in filenames in the archive.
引入模式
| 阶段 | 说明 |
|---|---|
| Implementation | - |
适用平台
编程语言
分类映射
| 分类名称 | 条目ID | 条目名称 | 映射适配度 |
|---|---|---|---|
| PLOVER | - | //multiple/leading/slash ('multiple leading slash') | - |
| Software Fault Patterns | SFP16 | Path Traversal | - |