Skip to content

CircleCI Configuration File - Detect

ID: circleci-config

Severity: medium

Author: geeknik

Tags: config,exposure,circleci

CircleCI config.yml file was detected.

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
metadata:
max-request: 1
tags: config,exposure,circleci
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
# digest: 490a00463044022044372a414955c2e9f02410c2546468352af7dfc1ac0cb232cb952943ab7b5a05022008796e3eebf633a98b1626014e1042d80e7cc796d260166df06e1aef45a6d326:922c64590222798bb761d5b6d8e72950

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.

Terminal window
$ nuclei -u "URL" -t "http/exposures/configs/circleci-config.yaml"

View on Github