Public Vulnerability Reports

Adobe Flash Media Server 2 Memory Corruption Vulnerability



Adobe Flash Media Server is an application server for Flash based applications. It provides an environment to run interactive media applications, as well as audio and video streaming functionality. More information can be found at the vendor's web site at the following URL.


Remote exploitation of a memory corruption vulnerability in Adobe Systems Inc.'s Flash Media Server 2 could allow an unauthenticated attacker to execute arbitrary code with SYSTEM privileges.

The Flash Media Server contains a component called the Edge server, which listens on TCP ports 1935 and 19350 for incoming connections. This port is the primary port used for client/server communication. The Edge server speaks the Real Time Message Protocol, or RTMP, a proprietary binary protocol developed by Adobe.

This vulnerability exists within the code responsible for parsing RTMP messages. A certain sequence of requests can lead to an area of memory being used after it has been released. This leads to the execution of arbitrary code.


Exploitation of this vulnerability results in the execution of arbitrary code with SYSTEM level privileges. In order to exploit this vulnerability, an attacker only needs the ability to connect to the target server on TCP port 1935 or 19350.

Unsuccessful attempts at exploitation will likely result in the Edge server crashing. After crashing, the Edge server will be restarted automatically. This gives an attacker an unlimited number of attempts at exploitation.


iDefense has confirmed the existence of this vulnerability in Flash Media Server 2 version 2.0.4 on Windows. Previous versions, as well as the Linux version, may also be affected.


iDefense is currently unaware of any workarounds for this issue.


Adobe has addressed this vulnerability by releasing version 2.0.5 of Flash Media Server. For more information, consult their bulletin at the following URL.


The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2007-6148 to this issue. This is a candidate for inclusion in the CVE list (, which standardizes names for security problems.


11/27/2007 Initial vendor notification
11/27/2007 Initial vendor response
02/12/2008 Coordinated public disclosure


This vulnerability was discovered by Sean Larsson, VeriSign iDefense Labs.

Get paid for vulnerability research

Free tools, research and upcoming events


Copyright © 2008 Verisign, 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 customer service 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.