CVE-2022-48282
MongoDB C# Driver Privilege Escalation Arbitrary Code Execution Vulnerability
Description
Under very specific circumstances (see Required configuration section below), a privileged user is able to cause arbitrary code to be executed which may cause further disruption to services. This is specific to applications written in C#. This affects all MongoDB .NET/C# Driver versions prior to and including v2.18.0 Following configuration must be true for the vulnerability to be applicable: * Application must written in C# taking arbitrary data from users and serializing data using _t without any validation AND * Application must be running on a Windows host using the full .NET Framework, not .NET Core AND * Application must have domain model class with a property/field explicitly of type System.Object or a collection of type System.Object (against MongoDB best practice) AND * Malicious attacker must have unrestricted insert access to target database to add a _t discriminator."Following configuration must be true for the vulnerability to be applicable
INFO
Published Date :
Feb. 21, 2023, 7:15 p.m.
Last Modified :
June 21, 2023, 1:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
1.2
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-2022-48282
.
URL | Resource |
---|---|
https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0 | Release Notes |
https://jira.mongodb.org/browse/CSHARP-4475 | Patch Vendor 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-2022-48282
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-48282
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 -
CVE Modified by [email protected]
Jun. 21, 2023
Action Type Old Value New Value Changed Description Under very specific circumstances (see Required configuration section below), a privileged user is able to cause arbitrary code to be executed which may cause further disruption to services. This is specific to applications written in C#. This affects all MongoDB .NET/C# Driver versions prior to and including v2.18.0 Under very specific circumstances (see Required configuration section below), a privileged user is able to cause arbitrary code to be executed which may cause further disruption to services. This is specific to applications written in C#. This affects all MongoDB .NET/C# Driver versions prior to and including v2.18.0 Following configuration must be true for the vulnerability to be applicable: * Application must written in C# taking arbitrary data from users and serializing data using _t without any validation AND * Application must be running on a Windows host using the full .NET Framework, not .NET Core AND * Application must have domain model class with a property/field explicitly of type System.Object or a collection of type System.Object (against MongoDB best practice) AND * Malicious attacker must have unrestricted insert access to target database to add a _t discriminator."Following configuration must be true for the vulnerability to be applicable -
Initial Analysis by [email protected]
Mar. 02, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0 No Types Assigned https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0 Release Notes Changed Reference Type https://jira.mongodb.org/browse/CSHARP-4475 No Types Assigned https://jira.mongodb.org/browse/CSHARP-4475 Patch, Vendor Advisory Added CWE NIST CWE-502 Added CPE Configuration OR *cpe:2.3:a:mongodb:c\#_driver:*:*:*:*:*:mongodb:*:* versions up to (excluding) 2.19.0 -
CVE Modified by [email protected]
Feb. 22, 2023
Action Type Old Value New Value Removed Reference https://jira.mongodb.org/CSHARP-4475 [No Types Assigned] Added Reference https://jira.mongodb.org/browse/CSHARP-4475 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-48282
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-2022-48282
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.10 }} 0.00%
score
0.41823
percentile