iDefense Security Advisory 08.03.10 http://labs.idefense.com/intelligence/vulnerabilities/ Aug 03, 2010
The Citrix ICA Client is an ActiveX control used to connect to a Citrix XenApp (formerly Citrix Presentation Server) server via the browser. Using this control allows clients to access the various features provided by the application server, such as virtualized applications. For more information, see the vendor's site found at the following link.
Remote exploitation of a memory corruption vulnerability in Citrix Systems Inc.'s ICA Client could allow an attacker to execute arbitrary code with the privileges of the current user.
The vulnerability occurs in the IICAClient interface within the ICAClient library in the control. This is the primary interface used to implement the client's functionality.
During the reading of this file, the vulnerable function fails to check the return value of the realloc## function. It then adds the number of bytes read from the file so far to the value returned, and appends file data at this address. If this allocation fails, a NULL pointer #the value 0) will be returned. This results in "0 + the number of bytes read so far" being used as the destination address for writing file data. This can lead to the corruption of memory at that address, which results in the execution of arbitrary code.
Exploitation of this vulnerability results in the execution of arbitrary code with the privileges of the user viewing the web page. To exploit this vulnerability, a targeted user must load a malicious webpage created by an attacker. An attacker typically accomplishes this via social engineering or injecting content into compromised, trusted sites. After the user visits the malicious web page, no further user interaction is needed.
iDefense has confirmed the existence of this vulnerability in ICA Client versions 220.127.116.1110 and 18.104.22.168560. All versions of the Online Plug-in for Windows up to version 12.0.3.
Setting the KillBit for the CLSID containing the vulnerable control will prevent exploitation of this vulnerability. However, it will also prevent legitimate use of the control. The CLSID is:
VI. VENDOR RESPONSE
Citrix has released a patch which addresses this issue. Information about downloadable vendor updates can be found by clicking on the URLs shown.
VII. CVE INFORMATION
A Mitre Corp. Common Vulnerabilities and Exposures (CVE) number has not been assigned yet.
VIII. DISCLOSURE TIMELINE
04/06/2010 Initial Contact 04/07/2010 Initial Response 08/03/2010 Coordinated public disclosure.
This vulnerability was discovered by Sean Larsson, iDefense Labs.
Get paid for vulnerability research http://labs.idefense.com/methodology/vulnerability/vcp.php
Free tools, research and upcoming events http://labs.idefense.com/
X. LEGAL NOTICES
Copyright © 2010 iDefense, Inc.
Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail email@example.com for permission.
Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.