CWE
613 79
Advisory Published
Updated

CVE-2021-25985: FactorJS - Insufficient Session Expiration Leads to a Local Account Takeover

First published: Tue Nov 16 2021(Updated: )

In Factor (App Framework & Headless CMS) v1.0.4 to v1.8.30, improperly invalidate a user’s session even after the user logs out of the application. In addition, user sessions are stored in the browser’s local storage, which by default does not have an expiration time. This makes it possible for an attacker to steal and reuse the cookies using techniques such as XSS attacks, followed by a local account takeover.

Credit: vulnerabilitylab@mend.io

Affected SoftwareAffected VersionHow to fix
Darwin Factor>=1.0.4<=1.8.30

Remedy

Update to 3.0.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-25985?

    CVE-2021-25985 has a severity rating that indicates a high risk due to session management issues.

  • How do I fix CVE-2021-25985?

    To fix CVE-2021-25985, ensure that user sessions are properly invalidated upon logout and consider implementing session expiration.

  • What versions of Factor are affected by CVE-2021-25985?

    CVE-2021-25985 affects Factor versions from 1.0.4 up to 1.8.30.

  • What are the consequences of CVE-2021-25985?

    The consequences of CVE-2021-25985 include the risk of unauthorized access to user sessions even after logout.

  • Is CVE-2021-25985 related to local storage security?

    Yes, CVE-2021-25985 involves security issues regarding user sessions being stored in the browser's local storage, which lacks expiration.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203