CWE-459 · Słabość
Incomplete Cleanup
- Abstrakcja
- Bazowa
- Status
- Szkic
- Dodano
- 19 lipca 2006
- Ostatnia zmiana
- 11 grudnia 2025
Opis
The product does not properly "clean up" and remove temporary or supporting resources after they have been used.
Inne nazwy
- Insufficient Cleanup
Skutki
Other, Confidentiality, Integrity
Other; Read Application Data; Modify Application Data; DoS: Resource Consumption (Other)
It is possible to overflow the number of temporary files because directories typically have limits on the number of files allowed. This could create a denial of service problem.
Zapobieganie
Architecture and Design, Implementation
Temporary files and other supporting resources should be deleted/released immediately after they are no longer needed.
Przykłady podatności
- CVE-2000-0552 World-readable temporary file not deleted after use.
- CVE-2005-2293 Temporary file not deleted after use, leaking database usernames and passwords.
- CVE-2002-0788 Interaction error creates a temporary file that can not be deleted due to strong permissions.
- CVE-2002-2066 Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak).
- CVE-2002-2067 Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak).
- CVE-2002-2068 Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak).
- CVE-2002-2069 Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak).
- CVE-2002-2070 Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak).
- CVE-2005-1744 Users not logged out when application is restarted after security-relevant changes were made.
Słabość nadrzędna
Słabości podrzędne
Kiedy powstaje
- Implementation
Dotyczy
Not Language-Specific
Uwagi
CWE-459 is a child of CWE-404 because, while CWE-404 covers any type of improper shutdown or release of a resource, CWE-459 deals specifically with a multi-step shutdown process in which a crucial step for "proper" cleanup is omitted or impossible. That is, CWE-459 deals specifically with a cleanup or shutdown process that does not successfully remove all potentially sensitive data.
Overlaps other categories such as permissions and containment. Concept needs further development. This could be primary (e.g. leading to infoleak) or resultant (e.g. resulting from unhandled error conditions or early termination).
Wpis z katalogu CWE 4.20.