id: ilias-panel

info:
  name: ILIAS Login Panel - Detect
  author: arafatansari
  severity: info
  description: ILIAS 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:ilias:ilias:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: ilias
    product: ilias
    shodan-query:
      - http.html:"ILIAS"
      - http.html:"ilias"
    fofa-query: body="ilias"
  tags: panel,ilias,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/login.php"
      - "{{BaseURL}}/ilias/login.php"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Login to ILIAS'
          - 'alt="ILIAS'
          - 'powered by ILIAS'
        condition: or

      - type: status
        status:
          - 200
# digest: 4a0a00473045022021a3e6d91dedd4b1ba3fcc9d0c3992c91e67ae1a99bfdecc1a3b8d36d7152225022100b8f79239de08c643f64d495c1aa6f36f1990cb83a42a4350ebd88473bca4f83e:922c64590222798bb761d5b6d8e72950