HexBrain

Browse / CVEs / CVE-2008-0702

CVE-2008-0702· south river technologies / titan ftp server· CWE-119

Titan FTP Server 6.03 and 6.0.5.549 - Heap Overflow via Long Commands

criticalseverity
9.3CVSS score
7.7%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it

Titan FTP Server versions 6.03 and 6.05 (builds) contain multiple heap-based buffer overflow vulnerabilities. Remote attackers can cause denial of service (daemon crash) or potentially execute arbitrary code by sending excessively long USER, PASS, or other FTP commands that trigger heap overflows.

Impact

Unauthenticated attackers can send excessively long USER, PASS, or other FTP commands to trigger heap overflows, causing denial of service by crashing the daemon or potentially executing arbitrary code on the server.

Fix

Update Titan FTP Server to a version newer than 6.05 build 549 that properly validates command length and prevents heap overflow vulnerabilities in FTP command handlers.

How to confirm it

Send: tcp probe to {{Hostname}}
Positive when: contains(raw, 'Titan') and contains(version, '6.03') || contains(version, '6.0.5.549')

Run it with nuclei: nuclei -id CVE-2008-0702 -u <target>

The full check
id: CVE-2008-0702

info:
  name: Titan FTP Server 6.03 and 6.0.5.549 - Heap Overflow via Long Commands
  author: pussycat0x
  severity: critical
  description: |
    Titan FTP Server versions 6.03 and 6.05 (builds) contain multiple heap-based buffer overflow vulnerabilities. Remote attackers can cause denial of service (daemon crash) or potentially execute arbitrary code by sending excessively long USER, PASS, or other FTP commands that trigger heap overflows.
  impact: |
    Unauthenticated attackers can send excessively long USER, PASS, or other FTP commands to trigger heap overflows, causing denial of service by crashing the daemon or potentially executing arbitrary code on the server.
  remediation: |
    Update Titan FTP Server to a version newer than 6.05 build 549 that properly validates command length and prevents heap overflow vulnerabilities in FTP command handlers.
  reference:
    - http://securityreason.com/securityalert/3639
    - http://www.vupen.com/english/advisories/2008/0393
    - https://www.exploit-db.com/exploits/5036
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:C/I:C/A:C
    cvss-score: 9.3
    cve-id: CVE-2008-0702
    cwe-id: CWE-119
    epss-score: 0.07707
    epss-percentile: 0.94655
    cpe: cpe:2.3:a:south_river_technologies:titan_ftp_server:6.0.5.549:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: south_river_technologies
    product: titan_ftp_server
    shodan-query: product:"Titan ftpd" version:"16.00.2672"
  tags: cve,cve2008,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, '6.03') || contains(version, '6.0.5.549')"
        condition: and

    extractors:
      - type: regex
        group: 1
        name: version
        regex:
          - "Titan FTP Server ([0-9.]+)"

References

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