漏洞描述
MongoDB was able to be accessed with no password. Note that MongoDB does not require a password by default.
id: mongodb-unauth
info:
name: MongoDB - Unauthenticated Access
author: pdteam
severity: high
description: MongoDB was able to be accessed with no password. Note that MongoDB does not require a password by default.
remediation: Enable Authentication in MongoDB
reference:
- https://github.com/orleven/Tentacle
- https://book.hacktricks.wiki/en/network-services-pentesting/27017-27018-mongodb.html
- https://www.mongodb.com/features/mongodb-authentication
metadata:
max-request: 1
tags: network,mongodb,unauth,misconfig,tcp,vuln
tcp:
- inputs:
- data: 480000000200000000000000d40700000000000061646d696e2e24636d6400000000000100000021000000026765744c6f670010000000737461727475705761726e696e67730000
type: hex
host:
- "{{Hostname}}"
port: 27017
read-size: 2048
matchers:
- type: word
words:
- "totalLinesWritten"
# digest: 490a0046304402204c8b092b54d321bd00931e58c377335e7e5aa70a3b38100639f494a67351424e02204e9a3a9cdd0c0307db7b87ecfe493d8d47cd32c0b54eec1d3f28fefaa8a246dc:922c64590222798bb761d5b6d8e72950