rdesktop iso_recv_msg function code execution
| rdesktop-isorecvmsg-code-execution (42272) |
Description:
rdesktop is vulnerable to a heap-based buffer overflow, caused by an integer underflow in the iso_recv_msg function. By persuading a victim to connect to a malicious RDP server, a remote attacker could overflow a buffer and execute arbitrary code on the system with the privileges of the victim or cause the application to crash.
Platforms Affected:
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 7.04
- Canonical, Ubuntu 7.10
- Canonical, Ubuntu 8.04 LTS
- Debian, Debian Linux 4.0
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 2007.1
- MandrakeSoft, Mandrake Linux 2007.1 X86_64
- MandrakeSoft, Mandrake Linux 2008.0
- MandrakeSoft, Mandrake Linux 2008.0 X86_64
- MandrakeSoft, Mandrake Linux 2008.1 X86_64
- MandrakeSoft, Mandrake Linux 2008.1
- MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 4.0
- Novell, OpenSUSE 10.3
- Novell, OpenSUSE 11.0
- rdesktop, rdesktop 1.5.0
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 5
- RedHat, Enterprise Linux 5 Client
- Sun, OpenSolaris 2008.5 x86
- Sun, OpenSolaris 2008.5 SPARC
Remedy:
Upgrade to the latest version of rdesktop (CVS revision 1.20 of iso.c or later), available from the SourceForge.net Repository. See References.
For other distributions:
Apply the appropriate update for your system. See References.
Consequences:
Gain Access
References:
- iDefense Labs PUBLIC ADVISORY: 05.07.08, Multiple Vendor rdesktop iso_recv_msg() Integer Underflow Vulnerability at http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=696.
- rdesktop Web site, rdesktop: A Remote Desktop Protocol Client at http://www.rdesktop.org/.
- SourceForge.net Repository, [rdesktop] Annotation of /rdesktop/iso.c at http://rdesktop.cvs.sourceforge.net/rdesktop/rdesktop/iso.c?annotate=1.20&diff_format=h&pathrev=HEAD#l101.
- Sun Alert ID: 240708, Multiple Security Vulnerabilities in rdesktop may lead to Execution of Arbitrary Code or Denial of Service (DOS) at http://sunsolve.sun.com/search/document.do?assetkey=1-66-240708-1.
- ASA-2008-321: rdesktop security update (RHSA-2008-0576)
- ASA-2008-331: rdesktop security and bug fix update (RHSA-2008-0725)
- ASA-2008-360: Multiple Security Vulnerabilities in rdesktop may lead to Execution of Arbitrary Code or Denial of Service (DOS) (Sun 240708)
- BID-29097: rdesktop Multiple Remote Memory Corruption Vulnerabilities
- CVE-2008-1801: Integer underflow in the iso_recv_msg function (iso.c) in rdesktop 1.5.0 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a Remote Desktop Protocol (RDP) request with a small length field.
- DSA-1573: rdesktop -- several vulnerabilities
- GLSA-200806-04: rdesktop: Multiple vulnerabilities
- MDVSA-2008:101: Updated rdesktop packages fix vulnerabilities
- RHSA-2008-0575: Moderate: rdesktop security update
- RHSA-2008-0576: Moderate: rdesktop security update
- RHSA-2008-0725: Moderate: rdesktop security and bug fix update
- SA30118: rdesktop Multiple Vulnerabilities
- SECTRACK ID: 1019990: rdesktop Integer Underflow in iso_recv_msg() Lets Remote Users Execute Arbitrary Code
- SUSE-SA:2008:041: openwsman
- USN-646-1: rdesktop vulnerabilities
- VUPEN/ADV-2008-1467: rdesktop Multiple Code Execution and Denial of Service Vulnerabilities
- VUPEN/ADV-2008-2403: Sun rdesktop Code Execution and Denial of Service Vulnerabilities
Reported:
May 07, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
