id: gocd-unauth-dashboard

info:
  name: GoCd Unauth Dashboard
  author: dhiyaneshDk
  severity: medium
  description: GoCd Dashboard is exposed.
  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,unauth,misconfig,vuln,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/go/admin/pipelines/create?group=defaultGroup'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>Create a pipeline - Go</title>'

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100fa551d88f5efbd68b4573be0d417f5996e4e7c0ee85bd907849f5697a7eef30802205aad0b259a2ef1faced2b1bd4e2637638514a00c4587ab5640a33fee7966c918:922c64590222798bb761d5b6d8e72950