nuclei-templates/http/exposures/configs/circleci-config.yaml

34 lines
729 B
YAML

id: circleci-config
info:
name: CircleCI Configuration File - Detect
author: geeknik
severity: medium
description: CircleCI config.yml file was detected.
reference:
- https://circleci.com/docs/2.0/sample-config/
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
tags: config,exposure,circleci
metadata:
max-request: 1
http:
- method: GET
host-redirects: true
max-redirects: 3
path:
- "{{BaseURL}}/.circleci/config.yml"
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'regex("^version: ", body) && contains(body, "jobs:")'
- type: status
status:
- 200