PT-2021-16908 · Factor · Factor
Published
2021-11-16
·
Updated
2021-11-19
·
CVE-2021-25985
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Factor (App Framework & Headless CMS) versions 1.0.4 through 1.8.30
Description
The issue arises from improper session invalidation after a user logs out, combined with the storage of user sessions in the browser's local storage, which lacks an expiration time by default. This allows an attacker to potentially steal and reuse cookies through techniques like XSS attacks, leading to local account takeover.
Recommendations
For versions 1.0.4 through 1.8.30, consider implementing proper session invalidation upon user logout and setting an expiration time for sessions stored in local storage to mitigate the risk of session reuse. As a temporary workaround, restrict access to sensitive areas of the application that rely on session-based authentication until a more permanent fix can be applied.
Fix
Insufficient Session Expiration
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Factor