id: cas-login

info:
  name: CAS Login Panel - Detect
  author: pdteam
  severity: info
  description: CAS 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:apereo:central_authentication_service:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: apereo
    product: central_authentication_service
    shodan-query:
      - http.title:'CAS - Central Authentication Service'
      - http.title:'cas - central authentication service'
    github: https://github.com/apereo/cas
    fofa-query: title='cas - central authentication service'
    google-query: intitle:'cas - central authentication service'
  tags: apereo,cas,panel,login

http:
  - method: GET
    path:
      - "{{BaseURL}}/cas/login"

    host-redirects: true
    max-redirects: 2
    matchers:
      - type: word
        words:
          - 'Central Authentication Service'
# digest: 490a004630440220633aaa8251444d635221bca7626ff1a8771a608c05bc8ac3b3a89c8d0bb1e909022078e79265649e20209f486bc2af413d4c5c34207da68566623f7dbd9b4967ecc6:922c64590222798bb761d5b6d8e72950