Vulnerability Details : 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. 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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2021-25985
- cpe:2.3:a:darwin:factor:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-25985
0.24%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 65 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-25985
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
Mend |
CWE ids for CVE-2021-25985
-
According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."Assigned by:
- nvd@nist.gov (Primary)
- vulnerabilitylab@mend.io (Secondary)
References for CVE-2021-25985
-
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25985
CVE-2021-25985 | WhiteSource Vulnerability DatabaseThird Party Advisory
-
https://github.com/FactorJS/factor/blob/v1.8.30/@factor/user/util.ts#L65
factor/util.ts at v1.8.30 · FactorJS/factor · GitHubPatch;Third Party Advisory
Jump to