// back

Adobe Macromedia ColdFusion MX7 Insecure File Permissions Vulnerability

04.10.07

BACKGROUND

ColdFusion is an application server used to develop dynamically generated content based web sites. It provides its own scripting language, ColdFusion Markup Language, that is similar to JSP and PHP. For more information see the vendor's website at the following URL.

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

DESCRIPTION

Local exploitation of an insecure file and directory permissions vulnerability in Adobe Systems Inc.'s Macromedia ColdFusion MX 7 may allow an attacker to execute code with root privileges.

A patch was recently released to fix the vulnerabilities referenced in the Adobe Security Advisory APSB06-17. This patch was intended to correct insecure file permissions of multiple files within the Verity sub-directory of ColdFusion. Unfortunately, the patch archive creates an additional vulnerability.

The vulnerability exists due to the directory permissions inside the directory structure of the patch. The patch consists of an archive that is meant to be extracted over the the current Verity directory. This archive contains multiple files and directories that are world writable.

ANALYSIS

Exploitation of this vulnerability allows an attacker to execute code with root privileges. In order to gain root privileges from this vulnerability it is necessary to restart ColdFusion.

DETECTION

iDefense has confirmed the existence of this vulnerability in ColdFusion MX version 7.0.2.142559 for Linux. Previous versions may also be affected.

WORKAROUND

Change the permissions on the vulnerable scripts to be mode 0755.

Change the directory permissions of any 0777 permissions directories located under {cf_root}/verity/k2 to be 0755.

VENDOR RESPONSE

Adobe Systems Inc. has addressed this vulnerability by releasing updated archives. More information can be found in Adobe Security Advisory APSB07-08 at the following URL.

http://www.adobe.com/support/security/bulletins/apsb07-08.html

CVE INFORMATION

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

DISCLOSURE TIMELINE

03/21/2007 Initial vendor notification
03/23/2007 Initial vendor response
04/10/2007 Coordinated public disclosure

CREDIT

This vulnerability was discovered by Sean Larsson, 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/

LEGAL NOTICES

Copyright © 2007 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.