{"@ID": "1462", "@Name": "Improper Session Management", "@Abstraction": "Class", "@Structure": "Simple", "@Status": "Incomplete", "Description": "The product does not properly manage user-related sessions such as setting appropriate configurations and settings for sessions on creation and handling sessions throughout their lifetime.", "Related_Weaknesses": {"Related_Weakness": {"@Nature": "ChildOf", "@CWE_ID": "284", "@View_ID": "1000", "@Ordinal": "Primary"}}, "Applicable_Platforms": {"Language": {"@Class": "Not Language-Specific", "@Prevalence": "Undetermined"}, "Operating_System": {"@Class": "Not OS-Specific", "@Prevalence": "Undetermined"}, "Architecture": {"@Class": "Not Architecture-Specific", "@Prevalence": "Undetermined"}, "Technology": [{"@Class": "Client Server", "@Prevalence": "Undetermined"}, {"@Class": "Web Based", "@Prevalence": "Undetermined"}]}, "Modes_Of_Introduction": {"Introduction": [{"Phase": "Architecture and Design"}, {"Phase": "Implementation"}]}, "Potential_Mitigations": {"Mitigation": {"Phase": ["Architecture and Design", "Implementation", "Operation"], "Description": "Very carefully manage user authenticated sessions.  Ensure that appropriate timeouts, invalidation procedures, and protections are established."}}, "Observed_Examples": {"Observed_Example": [{"Reference": "CVE-2020-6291", "Description": "No absolute session expiration", "Link": "https://www.cve.org/CVERecord?id=CVE-2020-6291"}, {"Reference": "CVE-2021-38869", "Description": "Session was not invalidated after inactivity", "Link": "https://www.cve.org/CVERecord?id=CVE-2021-38869"}, {"Reference": "CVE-2019-12421", "Description": "Chain: log out invalidated the session on the client side (CWE-602), but not the server side (CWE-1464)", "Link": "https://www.cve.org/CVERecord?id=CVE-2019-12421"}]}, "References": {"Reference": [{"@External_Reference_ID": "REF-1540"}, {"@External_Reference_ID": "REF-1561"}]}, "Mapping_Notes": {"Usage": "Allowed-with-Review", "Rationale": "This CWE Entry is a Class and might have lower-level children that would be more appropriate", "Comments": "Examine children of this entry to see if there is a better fit", "Reasons": {"Reason": {"@Type": "Abstraction"}}}, "Notes": {"Note": {"@Type": "Maintenance", "@Version": "5.0", "@ReleaseDate": "2026-10-28", "#text": "This entry was created in CWE 5.0 to address known gaps in CWE coverage. It is not as complete as other new entries that were published in recent years. The CWE Team plans to work with the CWE community to make this entry more complete in later 5.x releases."}}, "Content_History": {"Submission": {"Submission_Name": "CWE Content Team", "Submission_Organization": "MITRE", "Submission_Date": "2026-10-22", "Submission_Version": "5.0", "Submission_ReleaseDate": "2026-10-28"}}, "entry_type": "Weakness"}
