2021-11-06 10:57:38 +00:00
|
|
|
id: gocd-cruise-configuration
|
2021-11-04 20:24:26 +00:00
|
|
|
|
|
|
|
info:
|
2021-11-06 10:57:38 +00:00
|
|
|
name: GoCd Cruise Configuration disclosure
|
2021-11-04 20:24:26 +00:00
|
|
|
author: dhiyaneshDk
|
|
|
|
severity: high
|
2021-11-04 20:42:33 +00:00
|
|
|
reference:
|
|
|
|
- https://attackerkb.com/assessments/9101a539-4c6e-4638-a2ec-12080b7e3b50
|
|
|
|
- https://blog.sonarsource.com/gocd-pre-auth-pipeline-takeover
|
|
|
|
- https://twitter.com/wvuuuuuuuuuuuuu/status/1456316586831323140
|
|
|
|
metadata:
|
2021-11-04 21:26:16 +00:00
|
|
|
shodan-query: http.title:"Create a pipeline - Go",html:"GoCD Version"
|
2022-04-22 10:38:41 +00:00
|
|
|
tags: go,gocd,config,exposure,misconfig
|
2021-11-04 21:26:16 +00:00
|
|
|
|
2021-11-04 20:24:26 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/go/add-on/business-continuity/api/cruise_config"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "server agentAutoRegisterKey"
|
|
|
|
- "webhookSecret"
|
|
|
|
- "tokenGenerationKey"
|
2021-11-04 20:59:38 +00:00
|
|
|
condition: and
|