Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

                 ESB-2007.0262 -- [Solaris][Linux][HP-UX]
           Default Passwords in Cisco NetFlow Collection Engine
                               26 April 2007


        AusCERT Security Bulletin Summary

Product:              Cisco NetFlow Collection Engine prior to 6.0
Publisher:            Cisco Systems
Operating System:     Solaris
                      Linux variants
Impact:               Inappropriate Access
                      Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated

Original Bulletin:    

- --------------------------BEGIN INCLUDED TEXT--------------------

Hash: SHA1

Cisco Security Advisory: Default Passwords in NetFlow Collection Engine

Advisory ID: cisco-sa-20070425-nfc


Revision 1.0

For Public Release 2007 April 25 1600 UTC (GMT)

- - -------------------------------------------------------------------------


Versions of Cisco Network Services (CNS) NetFlow Collection Engine (NFC)
prior to 6.0 create and use default accounts with identical usernames
and passwords. An attacker with knowledge of these accounts can modify
the application configuration and, in certain instances, gain user
access to the host operating system.

The upgrade to NFC version 6.0 is not a free upgrade. This default
password issue does not require a software upgrade and can be changed
by a configuration command for all affected customers. The workaround
detailed in this document demonstrates how to change the passwords in 5.0.

This advisory is posted at 

Affected Products

Vulnerable Products

This vulnerability affects Cisco NetFlow Collection Engine running
software versions prior to 6.0.0. The software version of the Cisco
NetFlow Collection Engine can be determined by either logging into
the web-based user interface (UI) or using the "show-tech" parameter of
the nfcollector command from the host operating system. For customers
running version 6.0 or later, the nfcollector command uses the version
parameter to determine the software level.

Users can determine the NFC version by using a web browser to navigate
to http://<nfc-hostname>:8080/nfc in a web browser and selecting "About"
in the upper left-hand corner. The browser displays the NFC version in a
new window.

The NFC version can be determined from the host operating system
by using the show-tech parameter of the "/opt/CSCOnfc/nfcollector"
command. On systems running NFC version 5.0.3, the output from
"/opt/CSCOnfc/bin/nfcollector show-tech" should display a result similar
to the following:

   $ /opt/CSCOnfc/nfcollector show-tech

   ********** pkginfo/swlist **********
   Name        : CSCOnfc                      Relocations: /opt/CSCOnfc
   Version     : 5.0.3                             Vendor: Cisco Systems, Inc
   Release     : 2                             Build Date: Wed 06 Sep 2006 11:19:59 AM EDT
   Install Date: Mon 12 Feb 2007 04:26:54 PM EST      Build Host: nfc-hpux.cisco.com
   Group       : Applications/Network          Source RPM: CSCOnfc-5.0.3-2.src.rpm
   Size        : 109385602                        License: Copyright (c) 2002-2003 by Cisco Systems, Inc.
   Signature   : (none)
   URL         : http://www.cisco.com
   Summary     : Cisco NetFlow Collector
   Description :
   Cisco CNS NetFlow Collection Engine receives, filters, and aggregates NetFlow
    traffic data generated by Cisco routers and switches.

Products Confirmed Not Vulnerable

No other Cisco products are known to be vulnerable to the issues described in
this advisory.


Cisco CNS NetFlow Collection Engine is used to collect and monitor
NetFlow accounting data for devices that support NetFlow, such as
routers and switches. This data can be used to provide a network
baseline, against which irregular activities like denial of service
(DoS) attacks, worms, and other malicious activity can be more easily

NFC is installed on a supported UNIX platform. The installation creates
a default web based user account, nfcuser, which is required to perform
application maintenance, configuration, and troubleshooting with a
password of nfcuser. In versions prior to 6.0, the Linux installer will
also create a local user, also nfcuser, on the operating system with a
default password also identical to the username. If the user already
exists, the Linux installer will change the password to be the same as
the username.

This issue is documented in Cisco Bug ID CSCsh75038 

Vulnerability Scoring Details

Cisco is providing scores for the vulnerabilities in this advisory based
Con the ommon Vulnerability Scoring System (CVSS).

Cisco will provide a base and temporal score. Customers can then
compute environmental scores to assist in determining the impact of the
vulnerability in individual networks.

Cisco PSIRT will set the bias in all cases to normal. Customers
are encouraged to apply the bias parameter when determining the
environmental impact of a particular vulnerability.

CVSS is a standards based scoring method that conveys vulnerability
severity and helps determine urgency and priority of response.

Cisco has provided an FAQ to answer additional questions regarding CVSS at

http://www.cisco.com/web/about/security/intelligence/cvss-qandas.html .

Cisco has also provided a CVSS calculator to help compute the environmental
impact for individual networks at

http://intellishield.cisco.com/security/alertmanager/cvss .

Cisco Bug IDs:

CSCsh75038 - Default password for nfcuser in NFC

CVSS Base Score: 5.6
    Access Vector: Remote
    Access Complexity: High
    Authentication: Not Required
    Confidentiality Impact: Partial
    Integrity Impact: Partial
    Availability Impact: Partial
    Impact Bias: Normal

CVSS Temporal Score: 5.1
    Exploitability: Functional
    Remediation Level: Workaround
    Report Confidence: Confirmed


Successful exploitation of the vulnerability may result in full
administrative control of the NetFlow Collection Engine and user-level
access to the host operating system.

Software Version and Fixes

When considering software upgrades, also consult
http://www.cisco.com/go/psirt and any subsequent advisories to determine
exposure and a complete upgrade solution.

In all cases, customers should exercise caution to be certain the
devices to be upgraded contain sufficient memory and that current
hardware and software configurations will continue to be supported
properly by the new release. If the information is not clear, contact
the Cisco Technical Assistance Center ("TAC") or your contracted
maintenance provider for assistance.


This issue has been addressed starting in release 6.0 by prompting the
user to change the password for the web based nfcuser account during the
application installation or during an upgrade to a version later than
6.0 as shown in the following example. This only applies to the web user
and password, on Linux hosts, the nfcuser on the host operating system
needs to be manually changed as shown at the end of the workarounds
section. Installations on Solaris have always required the local nfcuser
to be created before the installation and therefore only the web based
user account is affected by this advisory. NFC installations for version
6.0 and later on Solaris and Linux require the nfcuser account to be
created on the host operating system before the installer is run.

For all installations of NFC versions prior to 6.0, the web user can be
changed using the following procedure:

Edit the file authentication parameters stored in 
${NFC_DIR}/config/auth.config, as shown below. The nfc-user field can be 
changed and a strong password should be chosen for the nfc-password.

    NFC {
        com.cisco.nfc.collector.web.auth.SimpleLoginModule required nfc-user="nfcuser" nfc-password="nfcuser";

Then as the nfcuser, stop and restart the NFC applications. This is done
using the nfcollector command, as shown in the following example:

    # su - nfcuser

    $ /opt/CSCOnfc/bin/nfcollector stop all
    nfcxml: Not Running
    collection: Not Running
    re: Not Running; autostart not configured
    web: Not Running

    $ /opt/CSCOnfc/bin/nfcollector start all
    This product contains cryptographic features and is subject to
    United States and local country laws governing import, export,
    transfer and use. Delivery of Cisco cryptographic products does
    not imply third-party authority to import, export, distribute
    or use encryption. Importers, exporters, distributors and users
    are responsible for compliance with U.S. and local country laws.

    By using this product you agree to comply with applicable laws
    and regulations. If you are unable to comply with U.S. and local
    laws, return this product immediately.

    A summary of U.S. laws governing Cisco cryptographic products may be
    found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

    If you require further assistance please contact us by sending email
    to export@cisco.com.

    nfcxml: Running (pid: 6598)
    collection: Running (pid: 6606)
    re: Not Running; autostart not configured
    web: Running (pid: 6618)

Additionally, on Linux installations of NFC prior to version 6.0, use the
"passwd" command to change the nfcuser password, as shown in the following

    # passwd nfcuser
    Changing password for user nfcuser.
    New UNIX password:
    Retype new UNIX password:
    passwd: all authentication tokens updated successfully.

Please note that the local user password does not have to match the
password of the web user account. Upgrading to version 6.0 will
automatically prompt the administrator for a new nfcuser password to
be used in the UI. The nfcuser password for the host operating system
should still be changed as described above.

Obtaining Fixed Software

Cisco will not make free upgrade software available to address this
vulnerability for affected customers. The workaround described in this
document describes how to change the passwords in current releases of
the software. This advisory will be updated as fixed software becomes
available. Prior to deploying software, customers should consult their
maintenance provider or check the software for feature set compatibility
and known issues specific to their environment.

Customers may only install and expect support for the feature
sets they have purchased. By installing, downloading, accessing
or otherwise using such software upgrades, customers agree to be
bound by the terms of Cisco's software license terms found at
http://www.cisco.com/public/sw-license-agreement.html , or as otherwise
set forth at Cisco.com Downloads at 

Do not contact either "psirt@cisco.com" or "security-alert@cisco.com" for
software upgrades.

Customers with Service Contracts

Customers with contracts should obtain upgraded software through their
regular update channels. For most customers, this means that upgrades
should be obtained through the Software Center on Cisco's worldwide
website at http://www.cisco.com.

Customers using Third Party Support Organizations

Customers whose Cisco products are provided or maintained through prior or
existing agreement with third-party support organizations such as Cisco
Partners, authorized resellers, or service providers should contact that
support organization for guidance and assistance with the appropriate
course of action in regards to this advisory.

The effectiveness of any workaround or fix is dependent on specific
customer situations such as product mix, network topology, traffic
behavior, and organizational mission. Due to the variety of affected
products and releases, customers should consult with their service
provider or support organization to ensure any applied workaround or fix
is the most appropriate for use in the intended network before it is

Customers without Service Contracts

Customers who purchase direct from Cisco but who do not hold a Cisco
service contract and customers who purchase through third-party vendors
but are unsuccessful at obtaining fixed software through their point
of sale should get their upgrades by contacting the Cisco Technical
Assistance Center (TAC). TAC contacts are as follows.

  * +1 800 553 2447 (toll free from within North America)
  * +1 408 526 7209 (toll call from anywhere in the world)
  * e-mail: tac@cisco.com

Have your product serial number available and give the URL of this
notice as evidence of your entitlement to a free upgrade. Free upgrades
for non-contract customers must be requested through the TAC.

Refer to http://www.cisco.com/warp/public/687/Directory/DirTAC.shtml for
additional TAC contact information, including special localized telephone
numbers and instructions and e-mail addresses for use in various languages.

Exploitation and Public Announcements

The Cisco PSIRT is not aware of any public announcements or malicious use of
the vulnerability described in this advisory.

Status of this Notice: FINAL


A stand-alone copy or Paraphrase of the text of this document that omits the
distribution URL in the following section is an uncontrolled copy, and may lack
important information or contain factual errors.


This advisory is posted on Cisco's worldwide website at :

In addition to worldwide web posting, a text version of this notice is
clear-signed with the Cisco PSIRT PGP key and is posted to the following e-mail
and Usenet news recipients.

  * cust-security-announce@cisco.com
  * first-teams@first.org
  * bugtraq@securityfocus.com
  * vulnwatch@vulnwatch.org
  * cisco@spot.colorado.edu
  * cisco-nsp@puck.nether.net
  * full-disclosure@lists.grok.org.uk
  * comp.dcom.sys.cisco@newsgate.cisco.com

Future updates of this advisory, if any, will be placed on Cisco's worldwide
website, but may or may not be actively announced on mailing lists or
newsgroups. Users concerned about this problem are encouraged to check the
above URL for any updates.

Revision History

| Revision 1.0  | 2007-April-25   | Initial public release    |

Cisco Security Procedures

Complete information on reporting security vulnerabilities
in Cisco products, obtaining assistance with security
incidents, and registering to receive security information
from Cisco, is available on Cisco's worldwide website at
This includes instructions for press inquiries regarding
Cisco security notices. All Cisco security advisories are available at

- - -----------------------------------------------------------------------------
All contents are Copyright 2006-2007 Cisco Systems, Inc. All rights reserved.
- - -----------------------------------------------------------------------------

Updated: Apr 25, 2006                                        Document ID: 82078

- - -----------------------------------------------------------------------------
Version: GnuPG v1.4.2.2 (GNU/Linux)


- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:


Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.

Comment: http://www.auscert.org.au/render.html?it=1967