Untrusted TLS connections via skipped certificate validation
Published Aug 23, 2023 · Updated Feb 13, 2025
Improper certificate validation in MongoDB Server 4.4, 5.0, and 6.3 allows remote attackers to connect with an untrusted certificate. On Windows and macOS, tlsClusterCAFile is not applied when validating a client certificate, so the server accepts a certificate outside the configured trust chain. The server must use TLS with the affected CA-file option, and the bounded consequence is acceptance of a client certificate outside the configured CA trust.
Summary
What happened
Improper certificate validation in MongoDB Server 4.4, 5.0, and 6.3 allows remote attackers to connect with an untrusted certificate. On Windows and macOS, tlsClusterCAFile is not applied when validating a client certificate, so the server accepts a certificate outside the configured trust chain. The server must use TLS with the affected CA-file option, and the bounded consequence is acceptance of a client certificate outside the configured CA trust.
The record
- CVE
- CVE-2023-1409
- Published
- Aug 23, 2023
- Updated
- Feb 13, 2025
- Vendor
- MongoDB
- Product
- MongoDB Server
- Classifications
- CWE-295, CAPEC-459, CAPEC-475
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 23, 2023CVE publishedPublication date reported by the CVE source.
- Feb 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.4 <=4.4.23
- Affected versionversion=5.0 <=5.0.14
- Affected versionversion=6.3 <=6.3.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo