2021-11-04 20:52:06 +00:00
|
|
|
id: gocd-encryption-key
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: GoCd Encryption Key
|
|
|
|
author: dhiyaneshDk
|
|
|
|
severity: low
|
|
|
|
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,exposure,misconfig
|
2021-11-04 21:26:16 +00:00
|
|
|
|
2021-11-04 20:52:06 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/go/add-on/business-continuity/api/cipher.aes"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-11-06 13:15:55 +00:00
|
|
|
- "([a-z0-9]){32}"
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/plain"
|
2021-11-04 20:52:06 +00:00
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-11-06 13:15:55 +00:00
|
|
|
- "([a-z0-9]){32}"
|