Rapid7 Vulnerability & Exploit Database

MongoDB Ops Manager Diagnostic Archive Sensitive Information Retriever

Back to Search

MongoDB Ops Manager Diagnostic Archive Sensitive Information Retriever



MongoDB Ops Manager Diagnostics Archive does not redact SAML SSL Pem Key File Password field (mms.saml.ssl.PEMKeyFilePassword) within app settings. Archives do not include the PEM files themselves. This module extracts that unredacted password and stores the diagnostic archive for additional manual review. This issue affects MongoDB Ops Manager v5.0 prior to 5.0.21 and MongoDB Ops Manager v6.0 prior to 6.0.12. API credentials with the role of GLOBAL_MONITORING_ADMIN or GLOBAL_OWNER are required. Successfully tested against MongoDB Ops Manager v6.0.11.


  • h00die


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/gather/mongodb_ops_manager_diagnostic_archive_info
msf auxiliary(mongodb_ops_manager_diagnostic_archive_info) > show actions
msf auxiliary(mongodb_ops_manager_diagnostic_archive_info) > set ACTION < action-name >
msf auxiliary(mongodb_ops_manager_diagnostic_archive_info) > show options
    ...show and set options...
msf auxiliary(mongodb_ops_manager_diagnostic_archive_info) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security