mongoaudit

? A powerful MongoDB auditing and pentesting tool ?

Github星跟蹤圖

This is the recommended installation method in case you have python and pip.

pip install mongoaudit

Use this if and only if python and pip are not available on your platform.

curl -s https://mongoaud.it/install, bash

works on Mac OS X, GNU/Linux and Bash for Windows 10

If you are serious about security you should always use the PIP installer or, better yet, follow best security practices: clone this repository, check the source code and only then run it with python mongoaudit.

  • MongoDB listens on a port different to default one
  • Server only accepts connections from whitelisted hosts / networks
  • MongoDB HTTP status interface is not accessible on port 28017
  • MongoDB is not exposing its version number
  • MongoDB version is newer than 2.4
  • TLS/SSL encryption is enabled
  • Authentication is enabled
  • SCRAM-SHA-1 authentication method is enabled
  • Server-side Javascript is forbidden *
  • Roles granted to the user only permit CRUD operations *
  • The user has permissions over a single database *
  • Security bug CVE-2015-7882
  • Security bug CVE-2015-2705
  • Security bug CVE-2014-8964
  • Security bug CVE-2015-1609
  • Security bug CVE-2014-3971
  • Security bug CVE-2014-2917
  • Security bug CVE-2013-4650
  • Security bug CVE-2013-3969
  • Security bug CVE-2012-6619
  • Security bug CVE-2013-1892
  • Security bug CVE-2013-2132

Tests marked with an asterisk (*) require valid authentication credentials.

Once you run any of the test suites provided by mongoaudit, it will offer you to receive a fully detailed report via email. This personalized report links to a series of useful guides on how to fix every specific issue and how to harden your MongoDB deployments.

For your convenience, we have also published the mongoaudit guides in our Medium publication.

We're happy you want to contribute! You can help us in different ways:

  • Open an issue with suggestions for improvements and errors you're facing.
  • Fork this repository and submit a pull request.
  • Improve the documentation.

To submit a pull request, fork the mongoaudit repository and then clone your fork:

git clone git@github.com:<your-name>/mongoaudit.git

Make your suggested changes, git push and then submit a pull request.

"With great power comes great responsibility"
  • Never use this tool on servers you don't own. Unauthorized access to strangers' computer systems is a crime in many countries.
  • Please use this tool is at your own risk. We will accept no liability for any loss or damage which you may incur no matter how caused.
  • Don't be evil! :trollface:

主要指標

概覽
名稱與所有者stampery/mongoaudit
主編程語言Python
編程語言Makefile (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2016-11-24 14:43:31
推送於2023-04-17 17:18:28
最后一次提交2020-12-03 00:31:25
發布數5
最新版本名稱0.1.1 (發布於 )
第一版名稱0.0.1 (發布於 )
用户参与
星數1.3k
關注者數46
派生數134
提交數222
已啟用問題?
問題數47
打開的問題數14
拉請求數6
打開的拉請求數1
關閉的拉請求數2
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?