2021-03-09 21:10:42 +00:00
|
|
|
id: circleci-config
|
|
|
|
|
|
|
|
info:
|
2023-02-08 19:23:16 +00:00
|
|
|
name: CircleCI Configuration File - Detect
|
2021-03-09 21:10:42 +00:00
|
|
|
author: geeknik
|
2023-02-13 15:20:41 +00:00
|
|
|
severity: medium
|
2023-02-08 19:23:16 +00:00
|
|
|
description: CircleCI config.yml file was detected.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://circleci.com/docs/2.0/sample-config/
|
2023-02-13 15:20:41 +00:00
|
|
|
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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: config,exposure,circleci
|
2021-03-09 21:10:42 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-03-09 21:10:42 +00:00
|
|
|
- method: GET
|
2022-10-07 21:27:25 +00:00
|
|
|
host-redirects: true
|
2021-03-09 21:10:42 +00:00
|
|
|
max-redirects: 3
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.circleci/config.yml"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2021-03-24 23:28:50 +00:00
|
|
|
- 'regex("^version: ", body) && contains(body, "jobs:")'
|
2021-03-09 21:10:42 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100cb203593503139e2614aace5b81e24cd7d7ac6cc8e6b4205441989ddbdf8a2e1022100f6922865523cf3615f61ede26c354e55a05015c656869d4c1ef25b63dc64ba68:922c64590222798bb761d5b6d8e72950
|