id: CVE-2004-0437

info:
  name: Titan FTP Server 3.01 - DoS via LIST Command Disconnection
  author: pussycat0x
  severity: medium
  description: |
    Titan FTP Server version 3.01 build 163 (and possibly other older versions) contains a vulnerability where disconnecting during a LIST -L command may crash the daemon. Remote attackers can cause denial of service by initiating a LIST -L command and then abruptly disconnecting, leading to server instability.
  impact: |
    Attackers can cause denial of service by initiating LIST -L commands and disconnecting abruptly, leading to Titan FTP Server crashes and service interruptions.
  remediation: |
    Upgrade Titan FTP Server to a version later than 3.01 build 163 that properly handles abrupt client disconnections.
  reference:
    - http://marc.info/?l=bugtraq&m=108378048513596&w=2
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/16057
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:N/I:N/A:P
    cvss-score: 5
    cve-id: CVE-2004-0437
    epss-score: 0.07672
    epss-percentile: 0.93812
    cpe: cpe:2.3:a:south_river_technologies:titan_ftp_server:3.01_build_163:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: south_river_technologies
    product: titan_ftp_server
    shodan-query: product:"Titan ftpd"
  tags: cve,cve2004,network,ftp,titan-ftp,tcp,passive,vuln

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

    host:
      - "{{Hostname}}"

    port: 21
    read-size: 1024

    matchers:
      - type: dsl
        dsl:
          - "contains(raw, 'Titan')"
          - "contains(version, '3.01')"
        condition: and

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