id: crushftp-login

info:
  name: CrushFTP WebInterface Panel - Detect
  author: dhiyaneshDK
  severity: info
  description: CrushFTP WebInterface login panel was detected.
  reference:
    - https://www.exploit-db.com/ghdb/6591
  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:crushftp:crushftp:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: crushftp
    product: crushftp
    shodan-query: http.html:"crushftp"
    fofa-query: body="crushftp"
  tags: panel,edb,crushftp,detect,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/WebInterface/login.html'

    matchers-condition: or
    matchers:
      - type: word
        part: body
        words:
          - '<title>CrushFTP WebInterface</title>'
          - '<title>CrushFTP - Login</title>'
          - 'src="/WebInterface/Resources/js/crushftp.customize.js"'
        condition: or

      - type: word
        part: header
        words:
          - 'Server: CrushFTP HTTP Server'
# digest: 490a0046304402202d49c000d116dc7847ffb4be3be4e6914f915af4e37362f79ce79f6a0bcc369b022033f4f7550909b7f029e1f01ae82ad7fd3650ade6b27655e8aa1e66838b090be5:922c64590222798bb761d5b6d8e72950