id: gocd-login

info:
  name: GoCD Login Panel - Detect
  author: dhiyaneshDK
  severity: info
  description: GoCD login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: thoughtworks
    product: gocd
    shodan-query:
      - html:"GoCD Version"
      - http.html:"gocd version"
      - http.title:"create a pipeline - go" html:"gocd version"
    fofa-query:
      - title="create a pipeline - go" html:"gocd version"
      - body="gocd version"
    google-query: intitle:"create a pipeline - go" html:"gocd version"
  tags: go,panel,gocd,thoughtworks,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/go/auth/login'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>Login - Go</title>'
          - 'gocd-params'

      - type: status
        status:
          - 200
# digest: 490a004630440220712befa838ed764f4e52e6a7d8e96e8925ad8f29bf11c43720840be8e986c88302207fd7a0e6bc4849fd5b46feeef3b13971c993585594c867d329cebe9419bf830b:922c64590222798bb761d5b6d8e72950