nuclei-templates/exposures/configs/docker-compose-config.yaml

39 lines
1.2 KiB
YAML
Raw Normal View History

id: docker-compose-config
info:
name: Docker Compose - Detect
2021-06-09 12:20:56 +00:00
author: meme-lord,blckraven,geeknik
severity: medium
description: Multiple Docker Compose configuration files were detected. The configuration allows deploy, combine and configure operations on multiple containers at the same time. The default is to outsource each process to its own container, which is then publicly accessible.
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-200
2021-05-26 21:14:15 +00:00
tags: config,exposure,devops
requests:
- method: GET
host-redirects: true
max-redirects: 3
path:
- "{{BaseURL}}/docker-compose.yml"
- "{{BaseURL}}/docker-compose.prod.yml"
- "{{BaseURL}}/docker-compose.production.yml"
- "{{BaseURL}}/docker-compose.staging.yml"
- "{{BaseURL}}/docker-compose.dev.yml"
- "{{BaseURL}}/docker-compose-dev.yml"
- "{{BaseURL}}/docker-compose.override.yml"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: dsl
dsl:
2021-03-24 23:28:50 +00:00
- 'regex("^version: ", body) && contains(body, "services:")'
- type: status
status:
- 200
# Enhanced by md on 2023/02/09