patchminder
Weaponized · Metasploit CVE-2023-0342

Information disclosurein MongoDB Ops Manager.

Published 9 Jun 2023 · Updated 6 Jan 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Low 3.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.9% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 5.0.21, 6.0.12
In plain words

MongoDB Ops Manager Diagnostics Archive may not redact sensitive PEM key file password app settings. Archives do not include the PEM files themselves. This issue affects MongoDB Ops Manager v5.0 prior to 5.0.21 and MongoDB Ops Manager v6.0 prior to 6.0.12

What to do now
  • Upgrade MongoDB Ops Manager to 5.0.21, 6.0.12 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
MongoDB Ops Manager
v5.0 to before 5.0.21
5.0.21
CVE record
MongoDB Ops Manager
v6.0 to before 6.0.12
6.0.12
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 17 Jan 2023
    CVE ID reserved by mongodb.
  2. 9 Jun 2023
    Published in the CVE List.
  3. 9 Jun 2023
    Metasploit module: MongoDB Ops Manager Diagnostic Archive Sensitive Information Retriever.
  4. 6 Jan 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit). CISA assessment (SSVC): exploitation none.

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Ops Manager vulnerabilities

Same weakness: Exposure of system information

All CWE-497 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-0342: Information disclosure in MongoDB Ops Manager. https://patchminder.com/cve/cve-2023-0342/ (accessed 5 December 2026).