HexBrain

Browse / CVEs / CVE-2005-0851

CVE-2005-0851· filezilla-project / filezilla server· CWE-835

FileZilla Server < 0.9.6 - DoS via MODE Z Infinite Loop

mediumseverity
5CVSS score
2.2%likelihood of exploitation, next 30 days
83%of all CVEs are less likely
Readycheck to confirm it

FileZilla Server versions prior to 0.9.6 are vulnerable to denial of service when using MODE Z (zlib compression). Remote attackers can cause an infinite loop via certain file uploads or directory listings, leading to server unresponsiveness.

Impact

Attackers can trigger infinite loops during MODE Z operations, causing FileZilla Server to become completely unresponsive and requiring service restart.

Fix

Upgrade FileZilla Server to version 0.9.6 or later that properly handles MODE Z zlib compression operations.

How to confirm it

Send: tcp probe to {{Hostname}}
Positive when: contains(raw, 'FileZilla') and compare_versions(version, '< 0.9.6')

Run it with nuclei: nuclei -id CVE-2005-0851 -u <target>

The full check
id: CVE-2005-0851

info:
  name: FileZilla Server < 0.9.6 - DoS via MODE Z Infinite Loop
  author: pussycat0x
  severity: medium
  description: |
    FileZilla Server versions prior to 0.9.6 are vulnerable to denial of service when using MODE Z (zlib compression). Remote attackers can cause an infinite loop via certain file uploads or directory listings, leading to server unresponsiveness.
  impact: |
    Attackers can trigger infinite loops during MODE Z operations, causing FileZilla Server to become completely unresponsive and requiring service restart.
  remediation: |
    Upgrade FileZilla Server to version 0.9.6 or later that properly handles MODE Z zlib compression operations.
  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-0851
    cwe-id: CWE-835
    epss-score: 0.0219
    epss-percentile: 0.82587
    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.]+)"

References

Use this check only on systems you are authorised to test. Where the data comes from