7.2
HIGH
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 :

Nov. 21, 2024, 7:33 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

1.2
Affected Products

The following products are affected by CVE-2022-48282 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 Mongodb c\#_driver
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
https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0 Release Notes
https://jira.mongodb.org/browse/CSHARP-4475 Patch Vendor Advisory
https://security.netapp.com/advisory/ntap-20230324-0003/

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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/mongodb/mongo-csharp-driver/releases/tag/v2.19.0
    Added Reference https://jira.mongodb.org/browse/CSHARP-4475
    Added Reference https://security.netapp.com/advisory/ntap-20230324-0003/
  • 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]
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-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

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