1. Advisory Information
Title: RealPlayer Heap-based Buffer Overflow Vulnerability
Advisory ID: CORE-2013-0903
Advisory URL: http://www.coresecurity.com/advisories/realplayer-heap-based-buffer-overflow-vulnerability
Date published: 2013-12-17
Date of last update: 2013-12-19
Vendors contacted: RealPlayer Team
Release mode: User release
2. Vulnerability Information
3. Vulnerability Description
RealPlayer ,  is prone to a security vulnerability when processing RMP files. This vulnerability could be exploited by a remote attacker to execute arbitrary code on the target machine, by enticing RealPlayer users to open a specially crafted RMP file (client-side attack).
4. Vulnerable Packages
- RealPlayer v220.127.116.11.
- RealPlayer v18.104.22.168.
- Other versions are probably affected too, but they were not checked.
5. Vendor Information, Solutions and Workarounds
Vendor notifies that a new version of RealPlayer will be probably available near Dec 20th, 2013 (see [Sec. 8]). The new version will not support RMP files and thus the issue will be fixed. As mitigation action, given that this is a client-side vulnerability, avoid to open untrusted RMP files. Contact vendor for further information.
This vulnerability was discovered and researched by Ricardo Narvaja from Core Exploit Writers Team. This report was coordinated by Fernando Miranda from Core Advisories Team.
7. Technical Description / Proof of Concept Code
Below is shown the result of opening the maliciously crafted file
poc.rmp on Windows XP SP3:
63A530B6 8B08 MOV ECX,DWORD PTR DS:[EAX] 63A530B8 8B51 04 MOV EDX,DWORD PTR DS:[ECX+4] <----crash in rpcontrols.dll 63A530BB 50 PUSH EAX 63A530BC FFD2 CALL EDX EAX 01122BB8 ASCII "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ECX 61616161 EDX 0267F278 EBX 00000000 ESP 0012F5CC EBP 0012F5D0 ESI 0012F5F4 EDI 00DD8AD8 EIP 63A530B8 rpcontro.63A530B8
8. Report Timeline
- 2013-09-03: Core Security Technologies attempts to contact vendor. No reply received. Publication date is set for Sep 25st, 2013.
- 2013-09-11: Core attempts to contact vendor.
- 2013-09-11: Vendor acknowledges Core's e-mail, and asks for a technical description of the vulnerability.
- 2013-09-12: Technical details sent to the vendor.
- 2013-09-16: Core asks for a status update.
- 2013-09-16: Vendor notifies that the vulnerability verification process has not finished yet and asks for delaying the advisory announcement. Vendor also claims that they have a six-month window to address vulnerabilities and the current release date has not been set.
- 2013-09-23: Core re-schedules the advisory publication for Oct 15th and asks for a clear timeline regarding the patching process.
- 2013-09-24: Vendor notifies that the normal procedure involves internal verification of the issue (usually within two weeks of reporting). Once verified, it is added to the queue for the next available release. Vendor also states that they could not reproduce the issue and asks for additional technical information.
- 2013-09-25: First release date missed.
- 2013-10-02: Core confirms that the issue is exploitable and sends additional technical information and a new PoC.
- 2013-10-04: Vendor notifies that they still cannot duplicate the issue, even with the new PoC.
- 2013-10-08: Core sends a demo (video) showing the exploitation in a fresh XP machine and additional technical information.
- 2013-10-14: Vendor asks for delaying the advisory release.
- 2013-10-15: Second release date missed.
- 2013-10-15: Core asks for a tentative release date.
- 2013-10-16: Vendor notifies that they have just been able to duplicate the issue and they can probably release a fix for the end of November.
- 2013-10-16: Core re-schedules the advisory publication for Nov 27th and notifies that this date should be considered final.
- 2013-11-11: Core asks for a status update.
- 2013-11-22: Vendor notifies that the fix will be released December 16th.
- 2013-11-26: Core re-schedules the advisory publication for Dec 16th.
- 2013-11-27: Third release date missed.
- 2013-12-06: Vendor notifies that they have found an issue that must be fixed and the date for announcing will be Dec 20th.
- 2013-12-09: Core notifies that releasing security advisories on Fridays generates unnecessary workload to IT teams worldwide considering the different timezones and rejects Dec 20th as release date.
- 2013-12-09: Vendor notifies that the new version of RealPlayer will not support RMP files and thus the issue will be fixed.
- 2013-12-16: Fourth release date missed.
- 2013-12-17: Advisory CORE-2013-0903 published as 'user release'.
10. About CoreLabs
CoreLabs, the research center of Core Security Technologies, is charged with anticipating the future needs and requirements for information security technologies. We conduct our research in several important areas of computer security including system vulnerabilities, cyber attack planning and simulation, source code auditing, and cryptography. Our results include problem formalization, identification of vulnerabilities, novel solutions and prototypes for new technologies. CoreLabs regularly publishes security advisories, technical papers, project information and shared software tools for public use at: http://corelabs.coresecurity.com.
11. About Core Security Technologies
Core Security Technologies enables organizations to get ahead of threats with security test and measurement solutions that continuously identify and demonstrate real-world exposures to their most critical assets. Our customers can gain real visibility into their security standing, real validation of their security controls, and real metrics to more effectively secure their organizations.
Core Security's software solutions build on over a decade of trusted research and leading-edge threat expertise from the company's Security Consulting Services, CoreLabs and Engineering groups. Core Security Technologies can be reached at +1 (617) 399-6980 or on the Web at: http://www.coresecurity.com.
The contents of this advisory are copyright (c) 2013 Core Security Technologies and (c) 2013 CoreLabs, and are licensed under a Creative Commons Attribution Non-Commercial Share-Alike 3.0 (United States) License: http://creativecommons.org/licenses/by-nc-sa/3.0/us/
13. PGP/GPG Keys
This advisory has been signed with the GPG key of Core Security Technologies advisories team, which is available for download at http://www.coresecurity.com/files/attachments/core_security_advisories.asc.