Create misconfigured-docker.yaml

patch-1
Dhiyaneshwaran 2021-02-03 23:48:23 +05:30 committed by GitHub
parent 22b8fd54ac
commit c5ab6a9a3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
id: misconfigured-docker
info:
name: Misconfigured Docker on Default Port
author: dhiyaneshDK
severity: Critical
#reference: https://madhuakula.com/content/attacking-and-auditing-docker-containers-using-opensource/attacking-docker-containers/misconfiguration.html
requests:
- method: GET
path:
- "{{BaseURL}}/images/json"
- "{{BaseURL}}:2375/images/json"
- "{{BaseURL}}:2376/images/json"
matchers-condition: and
matchers:
- type: word
words:
- 'Containers'
- type: status
status:
- 200