CVE-2021-25985
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.78%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.78% probability · 54th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-613
- Affected
- darwin/factor
- Source
- vulnerabilitylab@mend.io
References
- https://github.com/FactorJS/factor/blob/v1.8.30/%40factor/user/util.ts#L65
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25985Third Party Advisory
- https://github.com/FactorJS/factor/blob/v1.8.30/%40factor/user/util.ts#L65
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25985Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.