id: CVE-2009-0884

info:
  name: FileZilla Server < 0.9.31 - SSL/TLS Packet Overflow DoS
  author: pussycat0x
  severity: medium
  description: |
    FileZilla Server versions prior to 0.9.31 contain a buffer overflow vulnerability related to SSL/TLS packet handling. This vulnerability allows remote attackers to cause a denial of service through unspecified vectors involving SSL/TLS packets.
  impact: |
    Unauthenticated attackers can send specially crafted SSL/TLS packets to trigger buffer overflow, causing denial of service by crashing the FileZilla FTP server.
  remediation: |
    Update FileZilla Server to version 0.9.31 or later that properly handles SSL/TLS packet processing and prevents buffer overflow vulnerabilities.
  reference:
    - http://sourceforge.net/project/shownotes.php?release_id=665428
    - http://www.vupen.com/english/advisories/2009/0603
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/49107
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:N/A:P
    cvss-score: 4.3
    cve-id: CVE-2009-0884
    cwe-id: CWE-120
    epss-score: 0.03421
    epss-percentile: 0.87354
    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,cve2009,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.31')"
        condition: and

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