9.8
CRITICAL
CVE-2021-25985
Factor Session Validation Bypass Vulnerability
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.

INFO

Published Date :

Nov. 16, 2021, 10:15 a.m.

Last Modified :

Nov. 21, 2024, 5:55 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2021-25985 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Darwin factor
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-25985.

URL Resource
https://github.com/FactorJS/factor/blob/v1.8.30/%40factor/user/util.ts#L65
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25985 Third Party Advisory
https://github.com/FactorJS/factor/blob/v1.8.30/%40factor/user/util.ts#L65
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25985 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-25985 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-25985 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/FactorJS/factor/blob/v1.8.30/%40factor/user/util.ts#L65
    Added Reference https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25985
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference Mend https://github.com/FactorJS/factor/blob/v1.8.30/%40factor/user/util.ts#L65 [No types assigned]
    Removed Reference Mend https://github.com/FactorJS/factor/blob/v1.8.30/@factor/user/util.ts#L65
  • Initial Analysis by [email protected]

    Nov. 18, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/FactorJS/factor/blob/v1.8.30/@factor/user/util.ts#L65 No Types Assigned https://github.com/FactorJS/factor/blob/v1.8.30/@factor/user/util.ts#L65 Patch, Third Party Advisory
    Changed Reference Type https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25985 No Types Assigned https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25985 Third Party Advisory
    Added CWE NIST CWE-613
    Added CPE Configuration OR *cpe:2.3:a:darwin:factor:*:*:*:*:*:node.js:*:* versions from (including) 1.0.4 up to (including) 1.8.30
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-25985 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-25985 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.24 }} -0.01%

score

0.61153

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability