2023-02-02 15:01:26 +00:00
|
|
|
id: mongodb-info-enum
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: MongoDB Information Enumeration
|
|
|
|
author: pussycat0x
|
|
|
|
severity: info
|
|
|
|
description: |
|
|
|
|
MongoDB is an open source NoSQL database management program. NoSQL is used as an alternative to traditional relational databases.
|
|
|
|
reference:
|
|
|
|
- https://nmap.org/nsedoc/scripts/mongodb-info.html
|
|
|
|
metadata:
|
2023-02-02 18:02:24 +00:00
|
|
|
verified: "true"
|
2023-02-02 15:01:26 +00:00
|
|
|
shodan-query: mongodb server information
|
2023-02-14 18:48:28 +00:00
|
|
|
tags: network,mongodb,enum
|
2023-02-02 18:02:24 +00:00
|
|
|
|
2023-02-02 15:01:26 +00:00
|
|
|
network:
|
|
|
|
- inputs:
|
|
|
|
- data: 3b0000003c300000ffffffffd40700000000000061646d696e2e24636d640000000000ffffffff14000000106275696c64696e666f000100000000
|
|
|
|
type: hex
|
|
|
|
|
|
|
|
host:
|
|
|
|
- "{{Hostname}}"
|
|
|
|
- "{{Host}}:27017"
|
|
|
|
read-size: 2048
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: raw
|
|
|
|
words:
|
|
|
|
- "version"
|
|
|
|
- "maxBsonObjectSize"
|
2023-02-02 15:03:56 +00:00
|
|
|
condition: and
|
2023-02-02 18:02:24 +00:00
|
|
|
|
2023-02-02 15:01:26 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2023-02-02 15:03:56 +00:00
|
|
|
- "([A-Za-z:0-9.]+)"
|