Docker Cloud Yaml - File Disclosure
ID: docker-cloud
Severity: medium
Author: DhiyaneshDK
Tags: exposure,cloud,devops,docker,files
Description
Section titled “Description”Docker cloud internal yaml file is exposed.
YAML Source
Section titled “YAML Source”id: docker-cloud
info: name: Docker Cloud Yaml - File Disclosure author: DhiyaneshDK severity: medium description: Docker cloud internal yaml file is exposed. reference: https://www.exploit-db.com/ghdb/7959 metadata: verified: true max-request: 1 google-query: intitle:"index of" "docker-cloud.yml" tags: exposure,cloud,devops,docker,files
http: - method: GET path: - "{{BaseURL}}/docker-cloud.yml"
matchers-condition: and matchers: - type: regex regex: - '(?m)^ image:' - '(?m)^ ports:' condition: and
- type: word part: header words: - "application/json" - "text/html" negative: true condition: or
- type: status status: - 200# digest: 4a0a00473045022100e199babc192c0c7de51f622a9e3511db1ec7c9619d0cd8877c648e7d15ad16e802204914d1df51b2a74dacf2b48a4183f3d2c24568a3bc1e2a9eff13487e53f06763:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/files/docker-cloud.yaml"