id: seafile-panel

info:
  name: Seafile Panel - Detect
  author: TechbrunchFR,righettod
  severity: info
  description: Seafile panel was detected.
  reference:
    - https://www.seafile.com/en/home/
    - https://github.com/haiwen/seafile
  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:seafile:seafile:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: seafile
    shodan-query: http.favicon.hash:1552322396
    vendor: seafile
    verified: true
  tags: sefile,panel,login,seafile

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - "status_code==200"
          - 'contains(body, "SEAFILE_GLOBAL") && contains(body, "seafile-ui.css")'
        condition: and
# digest: 4a0a00473045022100ec1bc7522b9cd99478a05b9552d02152dd96bef030d1a59b8f8cb55a3ea5c0b90220084e431bc9bd5c3b1a43b0e50d1c33025d50563325506b3a969eff91f7a2aed3:922c64590222798bb761d5b6d8e72950