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
    product: gocd
    shodan-query: html:"GoCD Version"
    vendor: thoughtworks
  tags: go,panel,gocd,thoughtworks

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: 490a00463044022012d76d5dbb491ba5c25f4a7d42944ebd83cdd28cecd64264ae2030236fafc5f302205969f0a0a1f38596026e9133e28ee8dc603c20a04424f25a57fb2c2614e3b030:922c64590222798bb761d5b6d8e72950