CVE-2024-1351
MongoDB Server TLS Certificate Validation Bypass
Description
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which may result in untrusted connections to succeed. This may effectively reduce the security guarantees provided by TLS and open connections that should have been closed due to failing certificate validation. This issue affects MongoDB Server v7.0 versions prior to and including 7.0.5, MongoDB Server v6.0 versions prior to and including 6.0.13, MongoDB Server v5.0 versions prior to and including 5.0.24 and MongoDB Server v4.4 versions prior to and including 4.4.28. Required Configuration : A server process will allow incoming connections to skip peer certificate validation if the server process was started with TLS enabled (net.tls.mode set to allowTLS, preferTLS, or requireTLS) and without a net.tls.CAFile configured.
INFO
Published Date :
March 7, 2024, 5:15 p.m.
Last Modified :
March 11, 2025, 4:56 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2024-1351
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.
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-2024-1351
.
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-2024-1351
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-1351
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.
-
Initial Analysis by [email protected]
Mar. 11, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-295 Added CPE Configuration OR *cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* versions from (including) 4.4.0 from (excluding) 4.4.29 *cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* versions from (including) 5.0.0 from (excluding) 5.0.25 *cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* versions from (including) 6.0.0 from (excluding) 6.0.14 *cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:* versions from (including) 7.0.0 from (excluding) 7.0.6 Added CPE Configuration OR *cpe:2.3:a:netapp:astra_control_center:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:ontap_tools:10:*:*:*:*:vmware_vsphere:*:* Added Reference Type CVE: https://jira.mongodb.org/browse/SERVER-72839 Types: Issue Tracking, Patch, Vendor Advisory Added Reference Type MongoDB, Inc.: https://jira.mongodb.org/browse/SERVER-72839 Types: Issue Tracking, Patch, Vendor Advisory Added Reference Type CVE: https://security.netapp.com/advisory/ntap-20240524-0010/ Types: Third Party Advisory Added Reference Type MongoDB, Inc.: https://security.netapp.com/advisory/ntap-20240524-0010/ Types: Third Party Advisory Added Reference Type CVE: https://www.mongodb.com/docs/manual/release-notes/4.4/#4.4.29---february-28--2024 Types: Broken Link Added Reference Type MongoDB, Inc.: https://www.mongodb.com/docs/manual/release-notes/4.4/#4.4.29---february-28--2024 Types: Broken Link Added Reference Type CVE: https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024 Types: Release Notes Added Reference Type MongoDB, Inc.: https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024 Types: Release Notes Added Reference Type CVE: https://www.mongodb.com/docs/v5.0/release-notes/5.0/#5.0.25---february-28--2024 Types: Release Notes Added Reference Type MongoDB, Inc.: https://www.mongodb.com/docs/v5.0/release-notes/5.0/#5.0.25---february-28--2024 Types: Release Notes Added Reference Type CVE: https://www.mongodb.com/docs/v6.0/release-notes/6.0/#6.0.14---feb-28--2024 Types: Release Notes Added Reference Type MongoDB, Inc.: https://www.mongodb.com/docs/v6.0/release-notes/6.0/#6.0.14---feb-28--2024 Types: Release Notes -
CVE Modified by [email protected]
Feb. 13, 2025
Action Type Old Value New Value Changed Description Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which may result in untrusted connections to succeed. This may effectively reduce the security guarantees provided by TLS and open connections that should have been closed due to failing certificate validation. This issue affects MongoDB Server v7.0 versions prior to and including 7.0.5, MongoDB Server v6.0 versions prior to and including 6.0.13, MongoDB Server v5.0 versions prior to and including 5.0.24 and MongoDB Server v4.4 versions prior to and including 4.4.28. Required Configuration : A server process will allow incoming connections to skip peer certificate validation if the server process was started with TLS enabled (net.tls.mode set to allowTLS, preferTLS, or requireTLS) and without a net.tls.CAFile configured. Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which may result in untrusted connections to succeed. This may effectively reduce the security guarantees provided by TLS and open connections that should have been closed due to failing certificate validation. This issue affects MongoDB Server v7.0 versions prior to and including 7.0.5, MongoDB Server v6.0 versions prior to and including 6.0.13, MongoDB Server v5.0 versions prior to and including 5.0.24 and MongoDB Server v4.4 versions prior to and including 4.4.28. Required Configuration : A server process will allow incoming connections to skip peer certificate validation if the server process was started with TLS enabled (net.tls.mode set to allowTLS, preferTLS, or requireTLS) and without a net.tls.CAFile configured. -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://jira.mongodb.org/browse/SERVER-72839 Added Reference https://security.netapp.com/advisory/ntap-20240524-0010/ Added Reference https://www.mongodb.com/docs/manual/release-notes/4.4/#4.4.29---february-28--2024 Added Reference https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024 Added Reference https://www.mongodb.com/docs/v5.0/release-notes/5.0/#5.0.25---february-28--2024 Added Reference https://www.mongodb.com/docs/v6.0/release-notes/6.0/#6.0.14---feb-28--2024 -
CVE Modified by [email protected]
Jun. 10, 2024
Action Type Old Value New Value Added Reference MongoDB, Inc. https://security.netapp.com/advisory/ntap-20240524-0010/ [No types assigned] -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Received by [email protected]
Mar. 07, 2024
Action Type Old Value New Value Added Description Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which may result in untrusted connections to succeed. This may effectively reduce the security guarantees provided by TLS and open connections that should have been closed due to failing certificate validation. This issue affects MongoDB Server v7.0 versions prior to and including 7.0.5, MongoDB Server v6.0 versions prior to and including 6.0.13, MongoDB Server v5.0 versions prior to and including 5.0.24 and MongoDB Server v4.4 versions prior to and including 4.4.28. Required Configuration : A server process will allow incoming connections to skip peer certificate validation if the server process was started with TLS enabled (net.tls.mode set to allowTLS, preferTLS, or requireTLS) and without a net.tls.CAFile configured. Added Reference MongoDB, Inc. https://jira.mongodb.org/browse/SERVER-72839 [No types assigned] Added Reference MongoDB, Inc. https://www.mongodb.com/docs/v5.0/release-notes/5.0/#5.0.25---february-28--2024 [No types assigned] Added Reference MongoDB, Inc. https://www.mongodb.com/docs/v6.0/release-notes/6.0/#6.0.14---feb-28--2024 [No types assigned] Added Reference MongoDB, Inc. https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024 [No types assigned] Added Reference MongoDB, Inc. https://www.mongodb.com/docs/manual/release-notes/4.4/#4.4.29---february-28--2024 [No types assigned] Added CWE MongoDB, Inc. CWE-295 Added CVSS V3.1 MongoDB, Inc. AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-1351
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-2024-1351
weaknesses.