GoCd Cruise Configuration disclosure
ID: gocd-cruise-configuration
Severity: high
Author: dhiyaneshDk
Tags: go,gocd,config,exposure,misconfig
Description
Section titled “Description”GoCd Cruise Configuration is exposed.
YAML Source
Section titled “YAML Source”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: 4a0a0047304502203a0a0d9f70e4fcb64079d3a8dba27d27f2f1e6d026134b08bbb299f7cdde5366022100c9de5fd2493f1b4c24d28070e916958e57d468b704bfb12fdd48348129864cb6:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/misconfiguration/gocd/gocd-cruise-configuration.yaml"