42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
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:
|
|
max-request: 1
|
|
shodan-query: http.title:"Create a pipeline - Go",html:"GoCD Version"
|
|
tags: go,gocd,exposure,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/go/add-on/business-continuity/api/cipher.aes"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: regex
|
|
regex:
|
|
- "([a-z0-9]){32}"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/plain"
|
|
|
|
extractors:
|
|
- type: regex
|
|
regex:
|
|
- "([a-z0-9]){32}"
|
|
|
|
# digest: 4a0a0047304502207a374f4a3d53295089b3f257924253bb945aa90f49139de42d8595900d58d4d002210096aec8d919f4c6ce4fdcf29c487409d9091a7fe7d990df2d4954ee040f056bcf:922c64590222798bb761d5b6d8e72950
|