id: ws-ftp-ini

info:
  name: WS FTP File Disclosure
  author: DhiyaneshDK
  severity: low
  description: WS FTP file is disclosed.
  classification:
    cpe: cpe:2.3:a:ipswitch:ws_ftp:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: ipswitch
    product: ws_ftp
    google-query: intitle:"Index of" ws_ftp.ini
  tags: exposure,ftp,files,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/ws_ftp.ini'

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'HOST='
          - 'UID='
          - 'DIR='
        condition: and

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