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,discovery

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

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