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

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: 4b0a00483046022100ea11c5efd0d71b04c7312c75b320012861a5a4c67c1dc4fecb1aae9c2e793206022100a27b990f829305c970483a9e15d5bf8653c3442c5bc412ece14c2bc3b856cca0:922c64590222798bb761d5b6d8e72950