Description
Dockerfile was detected.
Dockerfile was detected.
id: dockerfile-hidden-disclosure
info:
name: Dockerfile - Detect
author: dhiyaneshDk
severity: medium
description: Dockerfile was detected.
reference:
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/dockerfile-hidden-disclosure.json
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cwe-id: CWE-552
metadata:
max-request: 3
tags: exposure,config,vuln
http:
- method: GET
path:
- "{{BaseURL}}/.dockerfile"
- "{{BaseURL}}/.Dockerfile"
- "{{BaseURL}}/Dockerfile"
matchers-condition: and
matchers:
- type: regex
regex:
- '^(?:FROM(?:CACHE)?|RUN|ADD|WORKDIR|ENV|EXPOSE|\#)\s+[ -~]+'
part: body
- type: status
status:
- 200
- type: word
part: header
words:
- "text/html"
negative: true
# digest: 4b0a00483046022100d179462f21b992a9c0d30b03b74c08de0446097b68015ef3811dabe2747471dc022100b87d4751722e876ac16753a3cc179d0d8fe267c2757ec6c71bd00fc8130f50f6:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.