CWEweakness
CWE-50 Path Equivalence: '//multiple/leading/slash'
- Abstraction
- Variant
- Structure
- Simple
- Status
- Incomplete
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
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.
Common consequences
• Confidentiality, Integrity: Read Files or Directories, Modify Files or Directories
Observed examples
• 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.
Related
Observed example · CVE (11)
- CVE-2005-1365 Pico Server (pServ) 3.2 and earlier allows remote attackers to execute arbitrary commands via a URL with multiple leading "/" (slash)… vulnerability
- CVE-2004-1032 fcronsighup in Fcron 2.0.1, 2.9.4, and possibly earlier versions allows local users to delete arbitrary files or create arbitrary empty… vulnerability
- CVE-2004-0578 WinGate 5.2.3 build 901 and 6.0 beta 2 build 942, and other versions such as 5.0.5, allows remote attackers to read arbitrary files via… vulnerability
- CVE-2004-0235 Multiple directory traversal vulnerabilities in LHA 1.14 allow remote attackers or local users to create arbitrary files via an LHA archive… vulnerability
- CVE-2004-1878 LINBOX LIN:BOX allows remote attackers to bypass authentication, obtain sensitive information, or gain access via a direct request to… vulnerability
- CVE-2002-1483 db4web_c and db4web_c.exe programs in DB4Web 3.4 and 3.6 allow remote attackers to read arbitrary files via an HTTP request whose argument… vulnerability
- CVE-2002-1238 Peter Sandvik's Simple Web Server 0.5.1 and earlier allows remote attackers to bypass access restrictions for files via an HTTP request… vulnerability
- CVE-2002-0275 Falcon web server 2.0.0.1020 and earlier allows remote attackers to bypass authentication and read restricted files via an extra / (slash)… vulnerability
- CVE-2001-1072 Apache with mod_rewrite enabled on most UNIX systems allows remote attackers to bypass RewriteRules by inserting extra / (slash) characters… vulnerability
- CVE-2000-1050 Allaire JRun 3.0 http servlet server allows remote attackers to directly access the WEB-INF directory via a URL request that contains an… vulnerability
- CVE-1999-1456 thttpd HTTP server 2.03 and earlier allows remote attackers to read arbitrary files via a GET request with more than one leading / (slash)… vulnerability
Can precede · CWE (1)
- CWE-601 URL Redirection to Untrusted Site weakness
Child of · CWE (2)
Referenced by CVE · weakness (2)
- CVE-2026-66835 Path Equivalence vulnerability in Erlang/OTP inets httpd allows a remote unauthenticated attacker to read files inside a mod_auth protected… vulnerability
- CVE-2023-34092 Vite provides frontend tooling. vulnerability