Accessibility

Security bulletin

Patch available for ColdFusion MX 7 and JRun 4 information disclosure issue

Release date: January 9, 2007

Vulnerability identifier: APSB07-02

CVE number: CVE-2006-5858

Platform: Windows, IIS only

Affected software versions

ColdFusion MX 7, ColdFusion MX 7.0.1, ColdFusion MX 7.0.2 and JRun 4.

Summary

A potential vulnerability in ColdFusion and JRun URL parsing could allow an attacker to access directory listings in the ColdFusion and JRun installation directory. A specially crafted command sent to the ColdFusion and JRun server could result in the attacker getting access to the directory listings.

Solution

Adobe recommends ColdFusion and JRun users apply the following update using the installation instructions below. Before following the instructions, ColdFusion users need to update to ColdFusion MX 7.0.1, if currently running ColdFusionMX 7.0. JRun 4 users need to update to at least JRun 4 Updater 5 before following the instructions.

NOTE: Back up existing files before making changes. As always, test the changes in a non-production environment before applying the changes to production servers.

Installation instructions

ColdFusion MX 7.01 and 7.02 server

  1. Backup the existing {cfmx_root}runtime\lib\wsconfig.jar to wsconfig.jar.bu.
  2. Download the hot fix (wsconfig-U5-65311.jar - 2.4 MB).
  3. Rename to wsconfig.jar
  4. Stop all ColdFusion MX servers and IIS (WWW Publishing Services) and the Windows Management Instrumentation service to unlock the IIS connector.
    Note: This step is important for ISPs. With IIS running, the connector installer shuts down and restarts each site during the upgrade, causing the upgrade to take much longer.
  5. Navigate to the {cfmx_root}\runtime\lib directory and run the connector upgrade:
          cd {cfmx_root}\runtime\lib
    java -Dtrace.ci=1 -jar wsconfig.jar -upgrade -v
  6. Make sure the upgrade completed successfully.
    • Inspect {cfmx_root}\runtime\lib\wsconfig\wsconfig.log for errors
    • Check the properties/version tab of {jrun_root}\lib\wsconfig\(number)\jrun_iis6_wildcard.dll if running IIS6. If running IIS5 check the properties of jrun.dll. The "Product Version" item name field should indicate 4.0.5.42873
              Another way to check the version is to query the wsconfig.jar directly as follows:
                java -jar wsconfig.jar info

    The command should return, "Macromedia JRun 4.0 (Build 108409)".


ColdFusion MX 7.01 and 7.02 multi-server with JRun 4 Updater 5 or JRun 4 Updater 5

NOTE: New installations of 7.01 and 7.02 run under Updater 5 as installed.

  1. Backup the existing {jrun_root}\lib\wsconfig.jar to wsconfig.jar.bu.
  2. Download the hot fix (wsconfig-U5-65311.jar - 2.4 MB).
  3. Rename to wsconfig.jar
  4. Stop all ColdFusion MX servers, JRun servers and IIS (WWW Publishing Services).  Also stop the Windows Management Instrumentation service to unlock the IIS connector.
    Note: This step is important for ISPs. With IIS running, the connector installer shuts down and restarts each site during the upgrade, causing the upgrade to take much longer.
  5. Navigate to the /jrun4/lib directory and run the connector upgrade:
          cd {jrun_root}/lib
    java -Dtrace.ci=1 -jar wsconfig.jar -upgrade -v
  6. Make sure the upgrade completed successfully.
    • Inspect {jrun_root}\lib\wsconfig\wsconfig.log for errors
    • Check the properties/version tab of {jrun_root}\lib\wsconfig\(number)\jrun_iis6_wildcard.dll if running IIS6. If running IIS5 check the properties of jrun.dll. The "Product Version" item name field should indicate 4.0.5.42873
              Another way to check the version is to query the wsconfig.jar directly as follows:
                java -jar wsconfig.jar -info
                The command should return, "Macromedia JRun 4.0 (Build 108407)".

ColdFusion MX 7.01 and 7.02 multi-server with JRun 4 Updater 6 or JRun 4 Updater 6

NOTE: New installations of 7.01 and 7.02 run under Updater 5 as installed.  A manual upgrade to Updater 6 would have been needed to upgrade to updater 6.

  1. Backup the existing {jrun_root}\lib\wsconfig.jar to wsconfig.jar.bu.
  2. Download the hot fix (wsconfig-U6-65311.jar - 2.5 MB).
  3. Rename to wsconfig.jar
  4. Stop all ColdFusion MX servers, JRun servers and IIS (WWW Publishing Services).  Also stop the Windows Management Instrumentation service to unlock the IIS connector.
    Note: This step is important for ISPs. With IIS running, the connector installer shuts down and restarts each site during the upgrade, causing the upgrade to take much longer.
  5. Navigate to the \jrun4\lib directory and run the connector upgrade:
          cd {jrun_root}\lib
    java -Dtrace.ci=1 -jar wsconfig.jar -upgrade -v
  6. Make sure the upgrade completed successfully.
    • Inspect {jrun_root}\lib\wsconfig\wsconfig.log for errors
    • Check the properties/version tab of {jrun_root}\lib\wsconfig\(number)\jrun_iis6_wildcard.dll, if running IIS6. If running IIS5 check the properties of jrun.dll. The "Product Version" item name field should indicate 4.0.6.42871
                Another way to check the properties/version is to query the wsconfig.jar directly as follows:
                java -jar wsconfig.jar -info
                The command should return, "Macromedia JRun 4.0 (Build 108407)".
  7. Download jrun-hotfix-65311.jar and save in {jrun_root}\servers\lib.

Severity rating

Adobe categorizes this as an important issue and recommends affected users patch their installations.

Details

A potential vulnerability in ColdFusion and JRun URL parsing could allow an attacker to access directory listings in the ColdFusion or JRun installation directory. A specially crafted command sent to the ColdFusion or JRun server could result in the attacker getting access to the directory listings. This issue is remotely exploitable.  This issue is specific to ColdFusion and JRun Windows IIS installations.

Acknowledgments

Adobe would like to thank Inge Henriksen, working with the iDefense Vulnerability Contributor Program, for reporting this vulnerability and for working with us to help protect our customers' security.

Adobe disclaimer

License agreement

By using software of Adobe Systems Incorporated or its subsidiaries ("Adobe"); you agree to the following terms and conditions. If you do not agree with such terms and conditions; do not use the software. The terms of an end user license agreement accompanying a particular software file upon installation or download of the software shall supersede the terms presented below.

The export and re-export of Adobe software products are controlled by the United States Export Administration Regulations and such software may not be exported or re-exported to Cuba; Iran; Iraq; Libya; North Korea; Sudan; or Syria or any country to which the United States embargoes goods. In addition; Adobe software may not be distributed to persons on the Table of Denial Orders; the Entity List; or the List of Specially Designated Nationals.

By downloading or using an Adobe software product you are certifying that you are not a national of Cuba; Iran; Iraq; Libya; North Korea; Sudan; or Syria or any country to which the United States embargoes goods and that you are not a person on the Table of Denial Orders; the Entity List; or the List of Specially Designated Nationals.

If the software is designed for use with an application software product (the "Host Application") published by Adobe; Adobe grants you a non-exclusive license to use such software with the Host Application only; provided you possess a valid license from Adobe for the Host Application. Except as set forth below; such software is licensed to you subject to the terms and conditions of the End User License Agreement from Adobe governing your use of the Host Application.

DISCLAIMER OF WARRANTIES: YOU AGREE THAT ADOBE HAS MADE NO EXPRESS WARRANTIES TO YOU REGARDING THE SOFTWARE AND THAT THE SOFTWARE IS BEING PROVIDED TO YOU "AS IS" WITHOUT WARRANTY OF ANY KIND. ADOBE DISCLAIMS ALL WARRANTIES WITH REGARD TO THE SOFTWARE; EXPRESS OR IMPLIED; INCLUDING; WITHOUT LIMITATION; ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE; MERCHANTABILITY; MERCHANTABLE QUALITY OR NONINFRINGEMENT OF THIRD PARTY RIGHTS. Some states or jurisdictions do not allow the exclusion of implied warranties; so the above limitations may not apply to you.

LIMIT OF LIABILITY: IN NO EVENT WILL ADOBE BE LIABLE TO YOU FOR ANY LOSS OF USE; INTERRUPTION OF BUSINESS; OR ANY DIRECT; INDIRECT; SPECIAL; INCIDENTAL; OR CONSEQUENTIAL DAMAGES OF ANY KIND (INCLUDING LOST PROFITS) REGARDLESS OF THE FORM OF ACTION WHETHER IN CONTRACT; TORT (INCLUDING NEGLIGENCE); STRICT PRODUCT LIABILITY OR OTHERWISE; EVEN IF ADOBE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Some states or jurisdictions do not allow the exclusion or limitation of incidental or consequential damages; so the above limitation or exclusion may not apply to you.