Description
This module exploits a memory disclosure vulnerability in MongoDB's zlib decompression handling (CVE-2025-14847). By sending crafted OP_COMPRESSED messages with inflated BSON document lengths, the server reads beyond the decompressed buffer and returns leaked memory contents in error messages.
The vulnerability allows unauthenticated remote attackers to leak server memory which may contain sensitive information such as credentials, session tokens, encryption keys, or other application data.
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/scanner/mongodb/cve_2025_14847_mongobleedmsf undefined(cve_2025_14847_mongobleed) > show actions ...actions...msf undefined(cve_2025_14847_mongobleed) > set ACTION < action-name >msf undefined(cve_2025_14847_mongobleed) > show options ...show and set options...msf undefined(cve_2025_14847_mongobleed) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub