Rapid7 Vulnerability & Exploit Database

MongoDB Login Utility

Back to Search

MongoDB Login Utility



This module attempts to brute force authentication credentials for MongoDB. Note that, by default, MongoDB does not require authentication.


  • Gregory Man <man.gregory@gmail.com>


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/mongodb_login
msf auxiliary(mongodb_login) > show actions
msf auxiliary(mongodb_login) > set ACTION < action-name >
msf auxiliary(mongodb_login) > show options
    ...show and set options...
msf auxiliary(mongodb_login) > 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