Microsoft Windows RDP Keystroke Injection Vulnerability
BID:5712
Info
Microsoft Windows RDP Keystroke Injection Vulnerability
| Bugtraq ID: | 5712 |
| Class: | Design Error |
| CVE: |
CVE-2002-0863 |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 16 2002 12:00AM |
| Updated: | Jul 11 2009 05:06PM |
| Credit: | Discovery of this issue is credited to Ben Cohen and Pete Chown of Skygate Technology Ltd. |
| Vulnerable: |
Microsoft Windows XP Professional SP1 Microsoft Windows XP Professional Microsoft Windows 2000 Terminal Services SP3 Microsoft Windows 2000 Terminal Services SP2 Microsoft Windows 2000 Terminal Services SP1 Microsoft Windows 2000 Terminal Services Microsoft Windows 2000 Server SP3 Microsoft Windows 2000 Server SP2 Microsoft Windows 2000 Server SP1 Microsoft Windows 2000 Server Microsoft Windows 2000 Professional SP3 Microsoft Windows 2000 Professional SP2 Microsoft Windows 2000 Professional SP1 Microsoft Windows 2000 Professional 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 SP3 Microsoft Windows 2000 Advanced Server SP2 Microsoft Windows 2000 Advanced Server SP1 Microsoft Windows 2000 Advanced Server Microsoft Windows .NET Standard Server Beta 3 Microsoft RDP 5.1 Microsoft RDP 5.0 |
| Not Vulnerable: | |
Discussion
Microsoft Windows RDP Keystroke Injection Vulnerability
Microsoft Windows Remote Desktop Protocol (RDP) version 5.0 introduced a feature which may potentially be abused by remote attackers with the ability to intercept network traffic.
When common commands and input events are sent during a RDP session, a checksum is added to each packet which is derived from the event. In older versions of RDP, the checksum also included a timestamp, which meant that each packet had a different checksum.
Versions 5.0 of Microsoft Windows RDP introduced support for abbreviating packets for common commands and input events. A unique timestamp is not used when the checksum is calculated for version 5.0 RDP packets, making it possible to deduce particular events (such as individual keystrokes) based on the checksum. This issue is also present in RDP 5.1.
Given the ability to observe network traffic and deduce which events are occurring, it is possible for an attacker to inject maliciously crafted packets into a session which may cause certain events to occur.
Microsoft Windows Remote Desktop Protocol (RDP) version 5.0 introduced a feature which may potentially be abused by remote attackers with the ability to intercept network traffic.
When common commands and input events are sent during a RDP session, a checksum is added to each packet which is derived from the event. In older versions of RDP, the checksum also included a timestamp, which meant that each packet had a different checksum.
Versions 5.0 of Microsoft Windows RDP introduced support for abbreviating packets for common commands and input events. A unique timestamp is not used when the checksum is calculated for version 5.0 RDP packets, making it possible to deduce particular events (such as individual keystrokes) based on the checksum. This issue is also present in RDP 5.1.
Given the ability to observe network traffic and deduce which events are occurring, it is possible for an attacker to inject maliciously crafted packets into a session which may cause certain events to occur.
Exploit / POC
Microsoft Windows RDP Keystroke Injection Vulnerability
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
References
Microsoft Windows RDP Keystroke Injection Vulnerability
References:
References:
- Microsoft Security Bulletin MS02-051 (Microsoft)
- Vulnerability Note VU#865833 (CERT)