Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!

TUCoPS :: Windows Net Apps :: ciack015.txt

ColdFusion Information Exposure (CFCACHE Tag)



                       The U.S. Department of Energy
                    Computer Incident Advisory Capability
                           ___  __ __    _     ___
                          /       |     /_\   /
                          \___  __|__  /   \  \___

                             INFORMATION BULLETIN

                 ColdFusion Information Exposure (CFCACHE Tag)

January 18, 2000 17:00 GMT                                        Number K-015
PROBLEM:       Certain files that are not normally publicly available may be
               downloaded and used as system reconnaissance information by
               users with malicious intent.
PLATFORM:      Systems running ColdFusion Server 4.0x (all editions).
DAMAGE:        The information about a server's web document directory
               structure and URL parameters used to call site pages can
               provide useful information for planning an attack on that
SOLUTION:      Download the new CFCACHE.CFM file and follow the directions
               given in the advisory. The solution has been incorporated in
               ColdFusion 4.5.
VULNERABILITY  The risk is MEDIUM. The information about the vulnerability
ASSESSMENT:    is publically available.

The text of the advisory was taken from the URL
/windowsntfocus/ColdFusion_Information_Exposure__CFCACHE_Tag_.html on
January 12, 2000.  The text was dated 5/1/2000.

[Start Beyond-Security's Advisory]

ColdFusion Information Exposure (CFCACHE Tag)

The CFCACHE tag is a feature in ColdFusion 4.x that performs
template caching to increase page delivery performance by
intelligently compiling and storing the output of CFML pages for
faster access. When this tag is utilized in a .CFM page it creates
several temporary files, including one that contains absolute
filenames with directory path information, URL parameters and
timestamps. In ColdFusion 4.0x, these files are stored in the same
directory as the .CFM page, usually in a publicly accessible web
document directory. Because these files are accessible to browsers
in the web document directory, users wishing to do so could download
this file with a browser and obtain information about the web
document directory structure or URL parameters used to call site
pages that would not otherwise be accessible. Allaire has released a
new version of the CFCACHE tag that is also available in ColdFusion
4.5 that allows users to specify a non-web document directory to
store the !

Vulnerable systems:
ColdFusion Server 4.0x (all editions)

When utilized in a .CFM page, the CFCACHE tag creates two types of
files: a "" file, containing pointers to temporary cache
files, and the temporary cache ".tmp" files themselves, which
contain the cached HTML output. The "" file includes
absolute filenames with full directory path information, URL
parameters and timestamps. In ColdFusion 4.0x, since this map file
is stored in the same directory of the cached page, usually in a
publicly accessible web document directory, the file is accessible
to browsers. Users wishing to do so could download these files with
a browser and obtain information about the web document directory
structure or URL parameters used to call site pages that would not
otherwise be accessible.

The CFCACHE tag creates the following files in each web directory
from which it is invoked:

1. Multiple .tmp files, which contain the HTML code from a processed
.CFM page
2. A single .map file, containing pointers to .tmp files within the

The .map file includes the following information:

1. Full path for each managed .tmp file in the directory.
2. A timestamp indicating when the cache file was created.
3. A line referring to the requested page and the full URL
(including variables) that was passed to it.

For example, a sample file might look like this:

  SourceTimeStamp=10/06/1999 08:02:06 AM

If downloaded, these files expose template path and URL information
not normally publicly available that could be used as an additional
reconnaissance tool by users with malicious intent.

Allaire has published a security bulletin, notifying customers of
the problem. Allaire has also releasing the new CFCACHE tag which
will allow site administrators to specify the directory in which the
temporary "" and "*.tmp" files are stored, allowing them
to store the files in non-public directories to prevent unauthorized
access, and has included this new version of the CFCACHE tag in
ColdFusion 4.5.

Download - ColdFusion CFCACHE.CFM tag file.

Customers should make a backup copy of their existing CFCACHE.CFM
file in the \CFUSION\BIN\CFTags\ directory, then download and copy
the new CFCACHE.CFM file into their \CFUSION\BIN\CFTags\ directory,
replacing the old CFCACHE.CFM file. They should then modify their
site to make use of the new "CacheDirectory" attribute of the tag,
specifying a directory that is not part of the web document
directory structure and inaccessible to Internet clients. The format
of the new attribute is:

    <CFCACHE Action="CACHE"

Note that all tag attributes available to the previously released
CFCACHE tag are still available in this new tag.

A sample of the new file is below:

  SourceTimeStamp=10/18/1999 02:14:28 AM

Customers should also closely monitor their web logs for browser
HTTP requests for "" and "*.tmp" files as they would
requests for files in the /cfdocs or /cfide/administrator
directories, treating these requests as malicious reconnaissance

Additional information
The information was provided by: Allaire Security Zone.

[End Beyond-Security's Advisory]


CIAC wishes to acknowledge the contributions of Beyond-Security's for the information contained in this bulletin.

CIAC, the Computer Incident Advisory Capability, is the computer
security incident response team for the U.S. Department of Energy
(DOE) and the emergency backup response team for the National
Institutes of Health (NIH). CIAC is located at the Lawrence Livermore
National Laboratory in Livermore, California. CIAC is also a founding
member of FIRST, the Forum of Incident Response and Security Teams, a
global organization established to foster cooperation and coordination
among computer security teams worldwide.

CIAC services are available to DOE, DOE contractors, and the NIH. CIAC
can be contacted at:
    Voice:    +1 925-422-8193
    FAX:      +1 925-423-8002
    STU-III:  +1 925-423-2604

For emergencies and off-hour assistance, DOE, DOE contractor sites,
and the NIH may contact CIAC 24-hours a day. During off hours (5PM -
8AM PST), use one of the following methods to contact CIAC:

    1.  Call the CIAC voice number 925-422-8193 and leave a message, or

    2.  Call 888-449-8369 to send a Sky Page to the CIAC duty person or

    3.  Send e-mail to, or

    4.  Call 800-201-9288 for the CIAC Project Leader.

Previous CIAC notices, anti-virus software, and other information are
available from the CIAC Computer Security Archive.

   World Wide Web:
                        (or -- they're the same machine)
   Anonymous FTP:
                        (or -- they're the same machine)
   Modem access:        +1 (925) 423-4753 (28.8K baud)
                        +1 (925) 423-3331 (28.8K baud)

CIAC has several self-subscribing mailing lists for electronic
1. CIAC-BULLETIN for Advisories, highest priority - time critical
   information and Bulletins, important computer security information;
2. SPI-ANNOUNCE for official news about Security Profile Inspector
   (SPI) software updates, new features, distribution and
3. SPI-NOTES, for discussion of problems and solutions regarding the
   use of SPI products.

Our mailing lists are managed by a public domain software package
called Majordomo, which ignores E-mail header subject lines. To
subscribe (add yourself) to one of our mailing lists, send the
following request as the E-mail message body, substituting
ciac-bulletin, spi-announce OR spi-notes for list-name:

E-mail to or
        subscribe list-name
  e.g., subscribe ciac-bulletin

You will receive an acknowledgment E-mail immediately with a confirmation
that you will need to mail back to the addresses above, as per the
instructions in the E-mail.  This is a partial protection to make sure
you are really the one who asked to be signed up for the list in question.

If you include the word 'help' in the body of an E-mail to the above address,
it will also send back an information file on how to subscribe/unsubscribe,
get past issues of CIAC bulletins via E-mail, etc.

PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing
communities receive CIAC bulletins.  If you are not part of these
communities, please contact your agency's response team to report
incidents. Your agency's team will coordinate with CIAC. The Forum of
Incident Response and Security Teams (FIRST) is a world-wide
organization. A list of FIRST member organizations and their
constituencies can be obtained via WWW at

This document was prepared as an account of work sponsored by an
agency of the United States Government. Neither the United States
Government nor the University of California nor any of their
employees, makes any warranty, express or implied, or assumes any
legal liability or responsibility for the accuracy, completeness, or
usefulness of any information, apparatus, product, or process
disclosed, or represents that its use would not infringe privately
owned rights. Reference herein to any specific commercial products,
process, or service by trade name, trademark, manufacturer, or
otherwise, does not necessarily constitute or imply its endorsement,
recommendation or favoring by the United States Government or the
University of California. The views and opinions of authors expressed
herein do not necessarily state or reflect those of the United States
Government or the University of California, and shall not be used for
advertising or product endorsement purposes.

LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC)

K-005: Microsoft "Virtual Machine Verifier" Vulnerability
K-006: Microsoft - Improve TCP Initial Sequence Number Randomness
K-007: Multiple Vulnerabilities in BIND
K-008: ExploreZip (packed) Worm
K-009: Qpopper Buffer Overflow Vulnerability
K-010: Solaris Snoop Buffer Overflow Vulnerability
K-011: Buffer Overflow Vulnerabilities in SSH Daemon and RSAREF2
K-012: Cisco Cache Engine Authentication Vulnerabilities
K-013: Buffer Overflow in Sun Solstic AdminSuite Daemon sadmind
K-014: HP-UX Aserver Vulnerability

Version: 4.0 Business Edition


TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2015 AOH