CVE-2021-39138
Parse Server Session Type Classification Vulnerability
Description
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Developers can use the REST API to signup users and also allow users to login anonymously. Prior to version 4.5.1, when an anonymous user is first signed up using REST, the server creates session incorrectly. Particularly, the `authProvider` field in `_Session` class under `createdWith` shows the user logged in creating a password. If a developer later depends on the `createdWith` field to provide a different level of access between a password user and anonymous user, the server incorrectly classified the session type as being created with a `password`. The server does not currently use `createdWith` to make decisions about internal functions, so if a developer is not using `createdWith` directly, they are not affected. The vulnerability only affects users who depend on `createdWith` by using it directly. The issue is patched in Parse Server version 4.5.1. As a workaround, do not use the `createdWith` Session field to make decisions if one allows anonymous login.
INFO
Published Date :
Aug. 19, 2021, 4:15 p.m.
Last Modified :
Aug. 12, 2022, 6:01 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.5
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-39138 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-39138
.
URL | Resource |
---|---|
https://github.com/parse-community/parse-server/commit/147bd9a3dc43391e92c36e05d5db860b04ca27db | Patch Third Party Advisory |
https://github.com/parse-community/parse-server/releases/tag/4.5.1 | Release Notes Third Party Advisory |
https://github.com/parse-community/parse-server/security/advisories/GHSA-23r4-5mxp-c7g5 | 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).
Automatic monitor github cve using Github Actions
Python
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-39138
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-39138
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 [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Aug. 12, 2022
Action Type Old Value New Value Removed CWE NIST CWE-287 Added CWE NIST CWE-863 -
Initial Analysis by [email protected]
Sep. 01, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N Changed Reference Type https://github.com/parse-community/parse-server/commit/147bd9a3dc43391e92c36e05d5db860b04ca27db No Types Assigned https://github.com/parse-community/parse-server/commit/147bd9a3dc43391e92c36e05d5db860b04ca27db Patch, Third Party Advisory Changed Reference Type https://github.com/parse-community/parse-server/releases/tag/4.5.1 No Types Assigned https://github.com/parse-community/parse-server/releases/tag/4.5.1 Release Notes, Third Party Advisory Changed Reference Type https://github.com/parse-community/parse-server/security/advisories/GHSA-23r4-5mxp-c7g5 No Types Assigned https://github.com/parse-community/parse-server/security/advisories/GHSA-23r4-5mxp-c7g5 Third Party Advisory Added CWE NIST CWE-287 Added CPE Configuration OR *cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:* versions up to (excluding) 4.5.1
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-39138
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-39138
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.09 }} 0.01%
score
0.36068
percentile