Research > Zero-Day Tracker > 20071123
Apple QuickTime RTSP Buffer Overflow
QuickTime 7.3 and earlier
A stack-based buffer overflow occurs when processing a malformed RTSP server response. If the attacker develops a malicious RTSP server that is able to deliver a very long 'Content-Type' field, the QuickTime client that connects to this server over the RTSP protocol can then be exploited. This process can be further "automated" by launching the attack from within an HTML file, which makes it easier to trick vulnerable users into connecting to a malicious RTSP server.
Arbitrary code execution under the context of the logged in user
A client-side remote code execution vulnerability has a very high impact since the source of the malicious payload can be any site on the Internet. An even more critical problem is generated when clients are administrators on their local hosts, which would run the malicious payload with Administrator credentials.
The RTSP server can be hosted on any TCP port, which allows for firewalls to be circumvented by hosting the malicious RTSP server on TCP/80 (or another commonly unfiltered port).
There is no known mitigation for blocking the exploitation of this vulnerability completely, however certain mitigation tactics may allow for attack vectors to be disrupted. These tactics are clearly spelled out in the referenced US-CERT advisory.
eEye's Blink® Personal Edition protects from this vulnerability.
eEye's Blink® Professional Edition protects from this vulnerability.
eEye's Retina® Network Security Scanner scans devices to detect for this vulnerability.
APPLE-SA-2007-12-13 QuickTime 7.3.1
Original PoC (Crash)
Second PoC (Crash)
Third PoC (Crash)
Fourth PoC - Fully Functional Reverse Shell
Nov 23, 2007: Original PoC Disclosure
Nov 26, 2007: Fully Functional Exploit Released
Copyright ©1998-2011 eEye Digital Security
Permission is hereby granted for the redistribution of this alert electronically. It is not to be edited in any way without express consent of eEye. If you wish to reprint the whole or any part of this alert in any other medium excluding electronic medium, please email alert@eEye.com for permission.
The information within this paper may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are no warranties, implied or express, with regard to this information. In no event shall the author be liable for any direct or indirect damages whatsoever arising out of or in connection with the use or spread of this information. Any use of this information is at the user's own risk.