Microsoft Windows Message Queuing Remote Buffer Overflow Vulnerability
BID:13112
Info
Microsoft Windows Message Queuing Remote Buffer Overflow Vulnerability
| Bugtraq ID: | 13112 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2005-0059 |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 12 2005 12:00AM |
| Updated: | Jul 12 2009 12:56PM |
| Credit: | Kostva Kortchinsky credited with the discovery of this issue. |
| Vulnerable: |
Microsoft Windows XP Tablet PC Edition SP1 Microsoft Windows XP Tablet PC Edition Microsoft Windows XP Professional SP1 Microsoft Windows XP Professional Microsoft Windows XP Media Center Edition SP1 Microsoft Windows XP Media Center Edition Microsoft Windows XP Home SP1 Microsoft Windows XP Home Microsoft Windows XP Embedded SP1 Microsoft Windows XP Embedded Microsoft Windows XP 64-bit Edition Version 2003 SP1 Microsoft Windows XP 64-bit Edition Version 2003 Microsoft Windows XP 64-bit Edition SP1 Microsoft Windows XP 64-bit Edition Microsoft Windows 98SE Microsoft Windows 98 SP1 Microsoft Windows 98 j Microsoft Windows 98 b Microsoft Windows 98 a Microsoft Windows 98 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 Professional SP4 Microsoft Windows 2000 Professional SP3 Microsoft Windows 2000 Professional SP2 Microsoft Windows 2000 Professional SP1 Microsoft Windows 2000 Professional 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 |
| Not Vulnerable: | |
Discussion
Microsoft Windows Message Queuing Remote Buffer Overflow Vulnerability
A remote buffer overflow vulnerability affects Microsoft Windows. This issue is due to a failure of the affected functionality to properly validate the length of user-supplied strings prior to copying them into static process buffers. This vulnerability may be exploited over RPC.
An attacker may exploit this issue to execute arbitrary code with SYSTEM privileges, facilitating unauthorized access or privilege escalation.
It should be noted that MSMQ is not installed by default on affected platforms and must be manually installed for a computer to be vulnerable. The vulnerability is reportedly not present on computers that only enable MSMQ HTTP Message Delivery.
A remote buffer overflow vulnerability affects Microsoft Windows. This issue is due to a failure of the affected functionality to properly validate the length of user-supplied strings prior to copying them into static process buffers. This vulnerability may be exploited over RPC.
An attacker may exploit this issue to execute arbitrary code with SYSTEM privileges, facilitating unauthorized access or privilege escalation.
It should be noted that MSMQ is not installed by default on affected platforms and must be manually installed for a computer to be vulnerable. The vulnerability is reportedly not present on computers that only enable MSMQ HTTP Message Delivery.
Exploit / POC
Microsoft Windows Message Queuing Remote Buffer Overflow Vulnerability
An exploit has been released for the Metasploit Framework, an additional exploit (HOD-ms05017-msmq-expl.c) is also available:
An exploit has been released for the Metasploit Framework, an additional exploit (HOD-ms05017-msmq-expl.c) is also available:
Solution / Fix
Microsoft Windows Message Queuing Remote Buffer Overflow Vulnerability
Solution:
Microsoft has released updates to address this issue on supported platforms.
Microsoft Windows XP 64-bit Edition SP1
Microsoft Windows 2000 Advanced Server SP4
Microsoft Windows 2000 Professional SP3
Microsoft Windows XP Tablet PC Edition SP1
Microsoft Windows 2000 Datacenter Server SP4
Microsoft Windows XP Media Center Edition SP1
Microsoft Windows 2000 Advanced Server SP3
Microsoft Windows XP Embedded SP1
Microsoft Windows XP Home SP1
Microsoft Windows 2000 Datacenter Server SP3
Microsoft Windows 2000 Server SP3
Microsoft Windows 2000 Server SP4
Microsoft Windows 2000 Professional SP4
Microsoft Windows XP Professional SP1
Solution:
Microsoft has released updates to address this issue on supported platforms.
Microsoft Windows XP 64-bit Edition SP1
-
Microsoft Security Update for Windows XP 64-bit Edition (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=9124BA48-73A8 -4C94-AA46-CE9A9D1E1198&displaylang=en
Microsoft Windows 2000 Advanced Server SP4
-
Microsoft Security Update for Windows 2000 (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=99A8EE12-4BD6 -43F5-A43F-124E0E2C2283&displaylang=en
Microsoft Windows 2000 Professional SP3
-
Microsoft Security Update for Windows 2000 (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=99A8EE12-4BD6 -43F5-A43F-124E0E2C2283&displaylang=en
Microsoft Windows XP Tablet PC Edition SP1
-
Microsoft Security Update for Windows XP (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=D72B7198-93A8 -4652-B505-8E51FC5EEAC3&displaylang=en
Microsoft Windows 2000 Datacenter Server SP4
-
Microsoft Security Update for Windows 2000 (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=99A8EE12-4BD6 -43F5-A43F-124E0E2C2283&displaylang=en
Microsoft Windows XP Media Center Edition SP1
-
Microsoft Security Update for Windows XP (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=D72B7198-93A8 -4652-B505-8E51FC5EEAC3&displaylang=en
Microsoft Windows 2000 Advanced Server SP3
-
Microsoft Security Update for Windows 2000 (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=99A8EE12-4BD6 -43F5-A43F-124E0E2C2283&displaylang=en
Microsoft Windows XP Embedded SP1
-
Microsoft Security Update for Windows XP (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=D72B7198-93A8 -4652-B505-8E51FC5EEAC3&displaylang=en
Microsoft Windows XP Home SP1
-
Microsoft Security Update for Windows XP (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=D72B7198-93A8 -4652-B505-8E51FC5EEAC3&displaylang=en
Microsoft Windows 2000 Datacenter Server SP3
-
Microsoft Security Update for Windows 2000 (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=99A8EE12-4BD6 -43F5-A43F-124E0E2C2283&displaylang=en
Microsoft Windows 2000 Server SP3
-
Microsoft Security Update for Windows 2000 (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=99A8EE12-4BD6 -43F5-A43F-124E0E2C2283&displaylang=en
Microsoft Windows 2000 Server SP4
-
Microsoft Security Update for Windows 2000 (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=99A8EE12-4BD6 -43F5-A43F-124E0E2C2283&displaylang=en
Microsoft Windows 2000 Professional SP4
-
Microsoft Security Update for Windows 2000 (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=99A8EE12-4BD6 -43F5-A43F-124E0E2C2283&displaylang=en
Microsoft Windows XP Professional SP1
-
Microsoft Security Update for Windows XP (KB892944)
http://www.microsoft.com/downloads/details.aspx?familyid=D72B7198-93A8 -4652-B505-8E51FC5EEAC3&displaylang=en
References
Microsoft Windows Message Queuing Remote Buffer Overflow Vulnerability
References:
References:
- Microsoft Security Bulletin MS05-017 (Microsoft)