CVE-2024-8013 Vulnerability Analysis & Exploit Details

CVE-2024-8013
Vulnerability Scoring

3.3
/10
Moderate Risk

Exploiting CVE-2024-8013 requires specific conditions, leading to a moderate security impact.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Local
    Vulnerability requires local system access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2024-8013 Details

Status: Analyzed

Last updated: 🕜 31 Oct 2024, 13:33 UTC
Originally published on: 🕐 28 Oct 2024, 13:15 UTC

Time between publication and last update: 3 days

CVSS Release: version 3

CVSS3 Source

nvd@nist.gov

CVSS3 Type

Primary

CVSS3 Vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CVE-2024-8013 Vulnerability Summary

CVE-2024-8013: A bug in query analysis of certain complex self-referential $lookup subpipelines may result in literal values in expressions for encrypted fields to be sent to the server as plaintext instead of ciphertext. Should this occur, no documents would be returned or written. This issue affects mongocryptd binary (v5.0 versions prior to 5.0.29, v6.0 versions prior to 6.0.17, v7.0 versions prior to 7.0.12 and v7.3 versions prior to 7.3.4) and mongo_crypt_v1.so shared libraries (v6.0 versions prior to 6.0.17, v7.0 versions prior to 7.0.12 and v7.3 versions prior to 7.3.4) released alongside MongoDB Enterprise Server versions.

Assessing the Risk of CVE-2024-8013

Access Complexity Graph

The exploitability of CVE-2024-8013 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2024-8013

CVE-2024-8013 presents an accessible attack vector with minimal effort required. Restricting access controls and implementing security updates are critical to reducing exploitation risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2024-8013, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2024-8013, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: Low
    CVE-2024-8013 could lead to minor leaks of non-critical information without major privacy breaches.
  • Integrity: None
    CVE-2024-8013 poses no threat to data integrity.
  • Availability: None
    CVE-2024-8013 does not impact system availability.

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.043% (probability of exploit)

EPSS Percentile: 11.87% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 88.13% of others.

CVE-2024-8013 References

External References

CWE Common Weakness Enumeration

CWE-319

CAPEC Common Attack Pattern Enumeration and Classification

  • Session Sidejacking CAPEC-102 Session sidejacking takes advantage of an unencrypted communication channel between a victim and target system. The attacker sniffs traffic on a network looking for session tokens in unencrypted traffic. Once a session token is captured, the attacker performs malicious actions by using the stolen token with the targeted application to impersonate the victim. This attack is a specific method of session hijacking, which is exploiting a valid session token to gain unauthorized access to a target system or information. Other methods to perform a session hijacking are session fixation, cross-site scripting, or compromising a user or server machine and stealing the session token.
  • Interception CAPEC-117 An adversary monitors data streams to or from the target for information gathering purposes. This attack may be undertaken to solely gather sensitive information or to support a further attack against the target. This attack pattern can involve sniffing network traffic as well as other types of data streams (e.g. radio). The adversary can attempt to initiate the establishment of a data stream or passively observe the communications as they unfold. In all variants of this attack, the adversary is not the intended recipient of the data stream. In contrast to other means of gathering information (e.g., targeting data leaks), the adversary must actively position themself so as to observe explicit data channels (e.g. network traffic) and read the content. However, this attack differs from a Adversary-In-the-Middle (CAPEC-94) attack, as the adversary does not alter the content of the communications nor forward data to the intended recipient.
  • Harvesting Information via API Event Monitoring CAPEC-383 An adversary hosts an event within an application framework and then monitors the data exchanged during the course of the event for the purpose of harvesting any important data leaked during the transactions. One example could be harvesting lists of usernames or userIDs for the purpose of sending spam messages to those users. One example of this type of attack involves the adversary creating an event within the sub-application. Assume the adversary hosts a "virtual sale" of rare items. As other users enter the event, the attacker records via AiTM (CAPEC-94) proxy the user_ids and usernames of everyone who attends. The adversary would then be able to spam those users within the application using an automated script.
  • Signature Spoofing by Mixing Signed and Unsigned Content CAPEC-477 An attacker exploits the underlying complexity of a data structure that allows for both signed and unsigned content, to cause unsigned data to be processed as though it were signed data.
  • Sniff Application Code CAPEC-65 An adversary passively sniffs network communications and captures application code bound for an authorized client. Once obtained, they can use it as-is, or through reverse-engineering glean sensitive information or exploit the trust relationship between the client and server. Such code may belong to a dynamic update to the client, a patch being applied to a client component or any such interaction where the client is authorized to communicate with the server.

Vulnerable Configurations

  • cpe:2.3:a:mongodb:mongocryptd:5.0.0:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.0:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.1:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.1:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.2:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.2:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.3:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.3:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.4:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.4:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.5:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.5:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.6:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.6:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.7:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.7:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.8:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.8:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.9:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.9:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.10:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.10:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.11:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.11:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.12:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.12:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.13:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.13:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.14:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.14:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.15:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.15:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.16:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.16:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.17:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.17:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.18:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.18:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.19:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.19:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.20:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.20:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.21:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.21:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.22:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.22:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.23:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.23:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.24:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.24:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.25:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.25:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.26:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.26:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.27:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.27:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:5.0.28:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:5.0.28:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.0:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.0:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.1:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.1:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.2:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.2:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.3:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.3:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.4:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.4:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.5:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.5:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.6:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.6:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.7:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.7:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.8:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.8:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.9:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.9:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.10:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.10:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.11:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.11:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.12:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.12:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.13:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.13:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.14:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.14:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.15:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.15:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:6.0.16:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:6.0.16:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.0.0:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.0.0:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.0.1:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.0.1:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.0.2:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.0.2:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.0.3:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.0.3:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.0.4:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.0.4:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.0.5:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.0.5:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.0.6:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.0.6:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.0.7:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.0.7:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.0.8:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.0.8:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.0.9:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.0.9:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.0.10:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.0.10:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.0.11:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.0.11:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.3.0:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.3.0:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.3.1:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.3.1:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.3.2:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.3.2:*:*:*:*:mongodb:*:*
  • cpe:2.3:a:mongodb:mongocryptd:7.3.3:*:*:*:*:mongodb:*:*
    cpe:2.3:a:mongodb:mongocryptd:7.3.3:*:*:*:*:mongodb:*:*

Protect Your Infrastructure against CVE-2024-8013: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-27636 – Bypass/Injection vulnerability in Apache Camel. This issue affects Apache Camel: from 4.10.0 through <= 4.10.1, from 4.8.0 through <= 4.8.4, from ...
  • CVE-2025-2121 – A vulnerability classified as critical has been found in Thinkware Car Dashcam F800 Pro up to 20250226. Affected is an unknown function of the comp...
  • CVE-2025-2120 – A vulnerability was found in Thinkware Car Dashcam F800 Pro up to 20250226. It has been rated as problematic. This issue affects some unknown proce...
  • CVE-2025-2119 – A vulnerability was found in Thinkware Car Dashcam F800 Pro up to 20250226. It has been declared as problematic. This vulnerability affects unknown...
  • CVE-2025-2118 – A vulnerability was found in Quantico Tecnologia PRMV 6.48. It has been classified as critical. This affects an unknown part of the file /admin/log...