CWE-1023 · Słabość
Incomplete Comparison with Missing Factors
- Abstrakcja
- Klasa
- Status
- Niekompletny
- Dodano
- 4 stycznia 2018
- Ostatnia zmiana
- 30 kwietnia 2026
Opis
The product performs a comparison between entities that must consider multiple factors or characteristics of each entity, but the comparison does not include one or more of these factors.
Skutki
Integrity, Access Control
Alter Execution Logic; Bypass Protection Mechanism
An incomplete comparison can lead to resultant weaknesses, e.g., by operating on the wrong object or making a security decision without considering a required factor.
Przykłady podatności
- CVE-2005-2782 PHP remote file inclusion in web application that filters "http" and "https" URLs, but not "ftp".
- CVE-2014-6394 Product does not prevent access to restricted directories due to partial string comparison with a public directory
Słabość nadrzędna
Słabości podrzędne
Kiedy powstaje
- Implementation
Dotyczy
Not Language-Specific, Not Technology-Specific
Wpis z katalogu CWE 4.20.