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:
|
2024-04-12 10:31:51 +00:00
|
|
|
- "{{BaseURL}}{{paths}}"
|
|
|
|
payloads:
|
|
|
|
paths:
|
|
|
|
- "/.github/workflows/ci.yml"
|
|
|
|
- "/.github/workflows/ci.yaml"
|
|
|
|
- "/.github/workflows/CI.yml"
|
|
|
|
- "/.github/workflows/main.yml"
|
|
|
|
- "/.github/workflows/main.yaml"
|
|
|
|
- "/.github/workflows/build.yml"
|
|
|
|
- "/.github/workflows/build.yaml"
|
|
|
|
- "/.github/workflows/test.yml"
|
|
|
|
- "/.github/workflows/test.yaml"
|
|
|
|
- "/.github/workflows/tests.yml"
|
|
|
|
- "/.github/workflows/tests.yaml"
|
|
|
|
- "/.github/workflows/release.yml"
|
|
|
|
- "/.github/workflows/publish.yml"
|
|
|
|
- "/.github/workflows/deploy.yml"
|
|
|
|
- "/.github/workflows/push.yml"
|
|
|
|
- "/.github/workflows/lint.yml"
|
|
|
|
- "/.github/workflows/coverage.yml"
|
|
|
|
- "/.github/workflows/release.yaml"
|
|
|
|
- "/.github/workflows/pr.yml"
|
|
|
|
- "/.github/workflows/automerge.yml"
|
|
|
|
- "/.github/workflows/docker.yml"
|
|
|
|
- "/.github/workflows/ci-generated.yml"
|
|
|
|
- "/.github/workflows/ci-push.yml"
|
|
|
|
- "/.github/workflows/ci-daily.yml"
|
|
|
|
- "/.github/workflows/ci-issues.yml"
|
|
|
|
- "/.github/workflows/smoosh-status.yml"
|
|
|
|
- "/.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
|
2024-04-12 10:58:47 +00:00
|
|
|
# digest: 4a0a00473045022050d591898bee5f12a9462fcbb40498633a3b7626f959558b14bdbb5f4560633a022100e5ed474ab233b4d53d96012592ab476b45d81d4876f8640856a3adc56326444f:922c64590222798bb761d5b6d8e72950
|