Microsoft Windows Plug and Play Buffer Overflow Vulnerability
Microsoft Windows Plug and Play (PnP) is prone to a buffer-overflow vulnerability.
This issue takes place when the PnP service handles malformed messages containing excessive data.
This vulnerability may allow local attackers to escalate privileges and remote attackers to gain unauthorized access, depending on the underlying operating system. A successful attack may allow arbitrary code to run, resulting in the attacker gaining SYSTEM privileges.
UPDATE (8/23/2005): While investigating this vulnerability, the DeepSight Threat Analyst Team has been able to carry out anonymous remote exploitation against certain nondefault configurations of Windows XP SP1. The attack vector appears when the "Guest" account is both enabled and removed from the "Deny access to this computer from the network" entry in the "User Rights Assignment" Security Policy. This can happen when Simple File and Print Sharing has been enabled, for example by sharing a folder or a printer with the local network. Note that Simple File and Print Sharing is available only on Windows XP machines that are not part of a Windows Active Directory Domain. However, configuring a Windows XP SP1 host to share network resources prior to joining an Active Directory Domain will leave it in the vulnerable state even after the Domain is joined.
Note also that Windows XP SP2 is not prone to this exploitation method. Furthermore, there is no change to Microsoft Security Bulletin MS05-039. Customers who have deployed this update are protected from this issue.
In light of this finding, Microsoft has issued new information regarding the patch for the Microsoft Windows Plug and Play Buffer Overflow Vulnerability (see Security Bulletin 906574: http://www.microsoft.com/technet/security/advisory/906574.mspx).