CVE-2021-25985FactorJS - Insufficient Session Expiration Leads to a Local Account Takeover
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by Mend, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FactorJS Factor: affected: 1.0.4 to before unspecified, unspecified to 1.8.30
Solution: Update to 3.0.1
References
- https://github.com/FactorJS/factor/blob/v1.8.30/%40factor/user/util.ts#L65
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25985
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.