CWE-392 · Słabość
Missing Report of Error Condition
- Abstrakcja
- Bazowa
- Status
- Szkic
- Dodano
- 19 lipca 2006
- Ostatnia zmiana
- 30 kwietnia 2026
Opis
The product encounters an error but does not provide a status code or return value to indicate that an error has occurred.
Skutki
Integrity, Other
Varies by Context; Unexpected State
Errors that are not properly reported could place the system in an unexpected state that could lead to unintended behaviors.
Przykłady podatności
- CVE-2024-52316 Web-based product can throw an exception during authentication but does not report the failure in the HTTP status code, allowing authentication bypass.
- CVE-2004-0063 Function returns "OK" even if another function returns a different status code than expected, leading to accepting an invalid PIN number.
- CVE-2002-1446 Error checking routine in PKCS#11 library returns "OK" status even when invalid signature is detected, allowing spoofed messages.
- CVE-2002-0499 Kernel function truncates long pathnames without generating an error, leading to operation on wrong directory.
- CVE-2005-2459 Function returns non-error value when a particular erroneous condition is encountered, leading to resultant NULL dereference.
Słabość nadrzędna
Kiedy powstaje
- Implementation
Dotyczy
Not Language-Specific
Źródła
- Randstorm: You Can't Patch a House of Cards — Unciphered, 2023
Wpis z katalogu CWE 4.20.