Create misconfigured-docker.yaml

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

View File

@ -0,0 +1,23 @@
id: misconfigured-docker
info:
name: Misconfigured Docker on Default Port
author: dhiyaneshDK
severity: Critical
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