2020-06-17 17:13:31 +00:00
|
|
|
id: exposed-docker-api
|
2020-06-17 15:28:37 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Exposed Docker API
|
2020-07-10 19:59:05 +00:00
|
|
|
author: furkansenan & dwisiswant0
|
2020-08-03 21:52:00 +00:00
|
|
|
severity: info
|
2020-06-17 15:28:37 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2020-07-10 19:59:05 +00:00
|
|
|
- "http://{{Hostname}}/version"
|
|
|
|
- "http://{{Hostname}}:2376/version"
|
|
|
|
- "http://{{Hostname}}/v1.24/version"
|
|
|
|
- "http://{{Hostname}}:2376/v1.24/version"
|
|
|
|
matchers-condition: and
|
2020-06-17 15:28:37 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2020-07-10 19:59:05 +00:00
|
|
|
- "application/json"
|
|
|
|
part: header
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "KernelVersion"
|
|
|
|
- "BuildTime"
|
|
|
|
condition: and
|
2020-06-17 15:28:37 +00:00
|
|
|
part: body
|
2020-07-10 19:59:05 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|