2021-05-28 03:31:24 +00:00
|
|
|
id: robomongo-credential
|
2021-05-26 21:36:36 +00:00
|
|
|
|
|
|
|
info:
|
2021-05-28 03:31:24 +00:00
|
|
|
name: MongoDB credential disclosure
|
2021-05-26 21:36:36 +00:00
|
|
|
author: geeknik
|
|
|
|
severity: high
|
2022-04-22 10:38:41 +00:00
|
|
|
description: MongoDB credentials file used by RoboMongo
|
2021-05-28 03:31:24 +00:00
|
|
|
tags: mongodb,robomongo,disclosure,config
|
2021-05-26 21:36:36 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/db/robomongo.json"
|
|
|
|
- "{{BaseURL}}/robomongo.json"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "application/json"
|
2021-05-28 03:31:24 +00:00
|
|
|
|
2021-05-26 21:36:36 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "databaseName"
|
|
|
|
- "userName"
|
|
|
|
- "userPassword"
|
|
|
|
- "serverHost"
|
|
|
|
condition: and
|
2021-05-28 03:31:24 +00:00
|
|
|
|
2021-05-26 21:36:36 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
2021-05-28 03:31:24 +00:00
|
|
|
- 200
|