CWE-42 · Słabość
Path Equivalence: 'filename.' (Trailing Dot)
- Abstrakcja
- Wariant
- Status
- Niekompletny
- Dodano
- 19 lipca 2006
- Ostatnia zmiana
- 11 grudnia 2025
Opis
The product accepts path input in the form of trailing dot ('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
Access Control
Bypass Protection Mechanism
Przykłady podatności
- CVE-2000-1114 Source code disclosure using trailing dot
- CVE-2002-1986 Source code disclosure using trailing dot
- CVE-2004-2213 Source code disclosure using trailing dot
- CVE-2005-3293 Source code disclosure using trailing dot
- CVE-2004-0061 Bypass directory access restrictions using trailing dot in URL
- CVE-2000-1133 Bypass directory access restrictions using trailing dot in URL
- CVE-2001-1386 Bypass check for ".lnk" extension using ".lnk."
Słabość nadrzędna
Słabości podrzędne
Kiedy powstaje
- Implementation
Dotyczy
Not Language-Specific
Wpis z katalogu CWE 4.20.