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:
    github: https://github.com/apereo/cas
    max-request: 1
    product: central_authentication_service
    shodan-query: http.title:'CAS - Central Authentication Service'
    vendor: apereo
  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: 490a00463044022071e6304b70fbfc04d0475ccc3c7afb5e7187ec3e6c88b8b91bd1789e76ea082402201a862c543154732f3ef39d434ba812008f027a1b6e63ffe548733a18da838acc:922c64590222798bb761d5b6d8e72950