2021-07-21 07:51:05 +00:00
|
|
|
id: github-workflows-disclosure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Github Workflow Disclosure
|
2021-10-07 21:51:45 +00:00
|
|
|
author: dhiyaneshDk,geeknik
|
2021-07-21 07:51:05 +00:00
|
|
|
severity: medium
|
2023-12-22 09:44:59 +00:00
|
|
|
description: Github Workflow was exposed.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/detectify/ugly-duckling/blob/master/modules/crowdsourced/github-workflows-disclosure.json
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 27
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: exposure,config
|
2021-07-21 07:51:05 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-21 07:51:05 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.github/workflows/ci.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/ci.yaml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/CI.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/main.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/main.yaml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/build.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/build.yaml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/test.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/test.yaml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/tests.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/tests.yaml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/release.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/publish.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/deploy.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/push.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/lint.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/coverage.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/release.yaml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/pr.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/automerge.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/docker.yml"
|
2021-10-07 21:50:57 +00:00
|
|
|
- "{{BaseURL}}/.github/workflows/ci-generated.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/ci-push.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/ci-daily.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/ci-issues.yml"
|
|
|
|
- "{{BaseURL}}/.github/workflows/smoosh-status.yml"
|
2021-10-20 18:44:17 +00:00
|
|
|
- "{{BaseURL}}/.github/workflows/snyk.yml"
|
2021-07-23 12:24:27 +00:00
|
|
|
|
2021-07-21 07:51:05 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "(?m)^\\s*\"?on\"?:"
|
|
|
|
- "(?m)^\\s*\"?jobs\"?:"
|
|
|
|
- "(?m)^\\s*\"?steps\"?:"
|
|
|
|
- "(?m)^\\s*- \"?uses\"?:"
|
|
|
|
part: body
|
2021-07-23 18:46:13 +00:00
|
|
|
condition: and
|
|
|
|
|
2021-07-21 07:51:05 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-12-29 09:57:30 +00:00
|
|
|
# digest: 4b0a00483046022100e56df88054a45c73d5b15d61d3086ab4ed3f3fa0de22d3b48a35082287261a96022100d409551a0f0bfb018fdefc89d3eacbdd87f2ccfe512ba252435d994fcb48ff7b:922c64590222798bb761d5b6d8e72950
|