Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [Full-disclosure] iDefense Security Advisory 12.16.05: Citrix Program Neighborhood Name Heap Corruption Vulnerability |
|---|---|
| Date: | Fri, 16 Dec 2005 13:38:27 -0500 |
Citrix Program Neighborhood Name Heap Corruption Vulnerability
iDefense Security Advisory 12.16.05 www.idefense.com/application/poi/display?id=357&type=vulnerabilities December 16, 2005
I. BACKGROUND
Citrix Program Neighborhood is the client used to connect to applications published on Citrix Metaframe servers.
More information is available from the vendor website:
http://www.citrix.com
II. DESCRIPTION
Remote exploitation of a heap overflow vulnerability in Citrix, Inc.'s Program Neighborhood allows attackers to execute arbitrary code.
The vulnerability specifically exists due to insufficient handling of corrupt Application Set responses. A heap-based buffer overflow will occur when the Citrix Program Neighborhood client receives an Application Set response containing a name value over 286 bytes. The overflow will trigger an access violation in RtlFreeHeap() with register control sufficient to write 4 bytes to an arbitrary location as shown below:
77F52A7B 8B4E 0C MOV ECX,DWORD PTR DS:[ESI+C] 77F52A7E 898D 60FFFFFF MOV DWORD PTR SS:[EBP-A0],ECX 77F52A84 8901 MOV DWORD PTR DS:[ECX],EAX
Registers: EAX 41414141 ECX 00004141 ESI 008D5E30 ASCII "AAAAAAAAAAAAAA" EIP 77F52A84 ntdll.77F52A84
Crash: 77F52A84 8901 MOV DWORD PTR DS:[ECX],EAX
Remote attackers can send an specially crafted name value to overflow the buffer and execute arbitrary code.
III. ANALYSIS
Successful exploitation of the vulnerability allows remote attackers to execute arbitrary code with user privileges. The overflow is a trivial heap-based buffer overflow due to insufficient bounds checking on the 'name' value in Application Set responses. A typical exploitation scenario would require an attacker to setup a fake Citrix Server and wait for a Citrix Program Neighborhood client to connect. Upon receiving the first connecting packets from the client, the server would send a corrupt UDP packet to the client.
IV. DETECTION
iDefense has confirmed the existence of this vulnerability in Citrix Presentation Server Client 9.0. All prior versions are suspected vulnerable.
V. WORKAROUND
iDefense is unaware of any effective workarounds at this time.
VI. VENDOR RESPONSE
The vendor has released the following advisory to address this issue:
http://support.citrix.com/kb/entry.jspa?externalID=CTX108354
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2005-3652 to this issue. This is a candidate for inclusion in the CVE list (http://cve.mitre.org), which standardizes names for security problems.
VIII. DISCLOSURE TIMELINE
11/15/2005 Initial vendor notification 11/15/2005 Initial vendor response 12/16/2005 Coordinated public disclosure
IX. CREDIT
iDefense credits Patrik Karlsson (patrik@cqure.net) with the discovery of this vulnerability.
Get paid for vulnerability research http://www.iDefense.com/poi/teams/vcp.jsp
Free tools, research and upcoming events http://labs.iDefense.com
X. LEGAL NOTICES
Copyright © 2005 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 email customerservice@iDefense.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. _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [VulnWatch] CYBSEC - Security Advisory: Watchfire AppScan QA Remote Code Execution, Mariano Nuñez Di Croce |
|---|---|
| Next by Date: | [Full-disclosure] 2x 0day Microsoft Windows Excel, ad@heapoverflow.com |
| Previous by Thread: | [VulnWatch] CYBSEC - Security Advisory: Watchfire AppScan QA Remote Code Execution, Mariano Nuñez Di Croce |
| Next by Thread: | [Full-disclosure] 2x 0day Microsoft Windows Excel, ad@heapoverflow.com |
| Indexes: | [Date] [Thread] [Top] [All Lists] |