<<< Date Index >>>     <<< Thread Index >>>

iDefense Security Advisory 02.12.08: Adobe Flash Media Server 2 Memory Corruption Vulnerability



iDefense Security Advisory 02.12.08
http://labs.idefense.com/intelligence/vulnerabilities/
Feb 12, 2008

I. BACKGROUND

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.

http://www.adobe.com/products/flashmediaserver/

II. DESCRIPTION

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.

III. ANALYSIS

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.

IV. DETECTION

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.

V. WORKAROUND

iDefense is currently unaware of any workarounds for this issue.

VI. VENDOR RESPONSE

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.

http://www.adobe.com/support/security/bulletins/apsb08-03.html

VII. CVE INFORMATION

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 (http://cve.mitre.org/), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

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

IX. CREDIT

This vulnerability was discovered by Sean Larsson, VeriSign 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 © 2008 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 customerservice@xxxxxxxxxxxx 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.