CWE-49 · Słabość
Path Equivalence: 'filename/' (Trailing Slash)
- Abstrakcja
- Wariant
- Status
- Niekompletny
- Dodano
- 19 lipca 2006
- Ostatnia zmiana
- 11 grudnia 2025
Opis
The product accepts path input in the form of trailing slash ('filedir/') 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.
Skutki
Confidentiality, Integrity
Read Files or Directories; Modify Files or Directories
Przykłady podatności
- CVE-2002-0253 Overlaps infoleak
- CVE-2001-0446 Application server allows remote attackers to read source code for .jsp files by appending a / to the requested URL.
- CVE-2004-0334 Bypass Basic Authentication for files using trailing "/"
- CVE-2001-0893 Read sensitive files with trailing "/"
- CVE-2001-0892 Web server allows remote attackers to view sensitive files under the document root (such as .htpasswd) via a GET request with a trailing /.
- CVE-2004-1814 Directory traversal vulnerability in server allows remote attackers to read protected files via .. (dot dot) sequences in an HTTP request.
Słabość nadrzędna
Kiedy powstaje
- Implementation
- Operation
Dotyczy
Not Language-Specific, Not Technology-Specific, Web Based
Wpis z katalogu CWE 4.20.