id: CVE-2005-0850

info:
  name: FileZilla Server < 0.9.6 - DoS via MS-DOS Device Names
  author: pussycat0x
  severity: medium
  description: |
    FileZilla Server versions prior to 0.9.6 are vulnerable to denial of service when processing filenames containing MS-DOS device names such as CON, NUL, COM1, LPT1, and others. Remote attackers can cause the server to crash or become unresponsive by requesting files with these reserved device names.
  impact: |
    Attackers can cause denial of service by requesting files with MS-DOS device names, triggering FileZilla Server crashes or unresponsiveness.
  remediation: |
    Upgrade FileZilla Server to version 0.9.6 or later that properly handles MS-DOS reserved device names.
  reference:
    - http://sourceforge.net/project/shownotes.php?group_id=21558&release_id=314473
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:N/I:N/A:P
    cvss-score: 5
    cve-id: CVE-2005-0850
    cwe-id: CWE-20
    epss-score: 0.0219
    epss-percentile: 0.80648
    cpe: cpe:2.3:a:filezilla-project:filezilla_server:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: filezilla-project
    product: filezilla_server
    shodan-query: product:"FileZilla"
  tags: cve,cve2005,network,ftp,filezilla,tcp,passive,vuln

tcp:
  - inputs:
      - data: 00000000
        type: hex

    host:
      - "{{Hostname}}"

    port: 21
    read-size: 1024

    matchers:
      - type: dsl
        dsl:
          - "contains(raw, 'FileZilla')"
          - "compare_versions(version, '< 0.9.6')"
        condition: and

    extractors:
      - type: regex
        group: 1
        name: version
        regex:
          - "FileZilla Server version ([0-9.]+)"
# digest: 4a0a0047304502205d7cc8c2f7bf7ad8540a0c3e2ab26fff097828613939d1c273be4ba331f87741022100ab097a80afd7b828775ace326dfa0ae161aad791d55c66661dc96c72dc0a5a89:922c64590222798bb761d5b6d8e72950