[22757] in bugtraq
[U] SSRT0758 Compaq Insight Manager Security Advisory
daemon@ATHENA.MIT.EDU (Boren, Rich (SSRT))
Sun Sep 30 02:58:36 2001
content-class: urn:content-classes:message
Date: Fri, 28 Sep 2001 20:12:28 -0600
Message-ID: <LYRIS-10497-29453-2001.09.28-19.10.16--aleph1#securityfocus.com@list.support.compaq.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
From: "Boren, Rich (SSRT)" <Rich.Boren@COMPAQ.com>
To: "Security Patch Mailing List" <security@list.support.compaq.com>
Reply-To: "Security Patch Mailing List" <security@list.support.compaq.com>
Content-Type: application/pgp; format=text; x-action=sign
Resent-From: aleph1@securityfocus.com
Resent-To: bugtraq@securityfocus.com
=20
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NO RESTRICTION FOR DISTRIBUTION
PROVIDED THE ADVISORY REMAINS INTACT
TITLE: SSRT0758 Compaq Management Software Security Advisory
Date Posted: September 28, 2001
(c) Copyright 2001 Compaq Computer Corporation. All rights reserved.=20
Compaq Management Software Security Vulnerability (SSRT0758)
SOURCE: Software Security Response Team U.S.
Compaq Computer Corporation
*Reference SSRT0758*
PATCHES SUPERSEDED BY THIS ADVISORY:
The software upgrades and patches also fix all previous=20
Compaq Management Software security vulnerabilities=20
reported in the following Compaq Security Advisories:
* Compaq Management Software Security Vulnerability - SSRT0715=20
(March, 2001)
* Compaq Web-enabled Management Software Security Vulnerability=20
- SSRT0705 (January 2001)
SUMMARY
Compaq Management Software products undergo rigorous quality=20
assurance processes to ensure that they meet the highest possible=20
standards for security, reliability and usability. In line with=20
this commitment, Compaq recently uncovered a potential buffer=20
overflow security vulnerability in its Web-enabled Management=20
Software. This vulnerability has the potential to enable unauthorized
users to execute code at an administrator level through the=20
exploitation of a buffer overflow. Compaq has addressed this=20
issue with version 5.2 of the Compaq Management Agents and developed=20
a patch that may be downloaded from the Compaq website (see details=20
below) to fix existing Agents installations. =20
Compaq strongly recommends that customers upgrade to=20
version 5.2 of the Compaq Management Agents or apply=20
the appropriate patch.
Compaq strongly recommends that web-enabled agents and utilities=20
be deployed only on private networks and are not used on the open=20
Internet or on systems outside the bounds of the firewall. The=20
implementation of sound security practices, which includes disabling=20
external access to Compaq management ports should help to protect=20
customers from external malicious attacks. Compaq also recommends=20
that strong password standards are used and that passwords are=20
changed regularly.
NOTE: The complete online document is available from
http://www.compaq.com/manage/security and should be
checked frequently for new patch release information.=20
If a TBD is entered for a product, please contact your=20
normal Compaq support channel to inquire about a
specific product solution status.
SCOPE OF THE PROBLEM
The web component of Compaq web-enabled management software provides=20
HTTP services to allow management information to be accessible=20
through a web browser. Web-enabled management software is provided=20
for the majority of the operating systems that Compaq supports on=20
its Intel-based and Alpha-based server and client systems. These=20
operating systems include Microsoft Windows 9x, Windows NT and=20
Windows 2000, Novell NetWare, SCO UnixWare 7, Red Hat Linux 6.2=20
and 7.0, SuSE Linux 7.0 & 7.1, Tru64 Unix and Open VMS. Web-enabled=20
management software is also supported for Compaq storage products.=20
This Security Advisory applies to all Compaq Web-enabled Management=20
Software. A list of affected software versions is available at
http://www.compaq.com/products/servers/management/mgtsw-advisory2.html
(note the url above may wrap unintentionally)
UNAFFECTED SOFTWARE VERSIONS
The web-enabled component of the Compaq Remote Insight Lights-Out=20
Edition board is NOT affected. Also unaffected are the downloadable=20
integration modules that Compaq provides to enhance the management=20
of Compaq platforms from within enterprise management consoles such=20
as CA Unicenter TNG, Tivoli Enterprise, Tivoli NetView, and HP
OpenView.
WHAT COMPAQ IS DOING
Compaq is currently completing the testing and release of fixes=20
for the affected software. Compaq Management CD Version 5.2 includes=20
an update that fixes the buffer overflow security vulnerability issue
in some Compaq Web-enabled Management Software. In addition to
releasing new versions of the software, Compaq will also=20
release software patches to update existing versions of=20
the web-enabled management software. =20
Three patches are now available for download from:=20
ftp://ftp.compaq.com/pub/softpaq/sp17501-18000/
SoftPaq SP 17926 fixes the problem for affected versions of Compaq=20
Foundation Agents for Windows Servers, Compaq Survey for Windows,
Compaq Power Manager, Compaq Intelligent Cluster Administrator, =20
and Compaq Availability Agents. This patch also fixes the problem
for the SNMP and DMI agents installed with Compaq Insight Manager
XE Version 2.0 and 2.1. Compaq recommends applying the patch if=20
any of the Compaq Management Software mentioned above is
installed.
SoftPaq SP 17927 fixes the problem for affected versions of the=20
Compaq Foundation Agents for Novell NetWare servers.=20
SoftPaq SP 17928 fixes the problem for affected versions of the=20
Compaq Foundation Agents for Linux servers
Compaq Security Advisory SSRT0758 will be updated as needed to
communicate availability and plans for new versions of all=20
the affected software.
WHAT CUSTOMERS SHOULD DO=20
Determine which systems are running Compaq web-enabled agents or=20
utilities. There are three methods suggested.=20
Method 1=20
Point a web browser to the system by keying in=20
http://[IP_ADDRESS]: 2301 or http://[machine_name]:2301.=20
This will bring up the device home page for any servers running=20
web-enabled management software, and display a list of the
components.=20
NOTE: The lists generated by Methods 2 and 3, while helpful, may=20
not be exhaustive lists of the systems with web-enabled agents and=20
utilities. The lists will include only those systems that are being=20
managed either explicitly or because they have been discovered.
Method 2=20
Systems running Compaq Insight Manager XE, can get a list of systems
running the web-enabled agents by defining a Query to return a list=20
of systems with web agents.=20
Login to your Compaq Insight Manager XE system and create a new=20
Query. Select the "Devices with Web Agent" criteria.
- - - - Select all of the available products on the Criteria
Configuration
screen.=20
- - - - Save the Query and execute it.=20
The list of devices will be all those with web agents.=20
Method 3
Systems running Compaq Insight Manager Windows 32 console, can get a=20
list of systems running the web agents by starting Compaq Insight
Manager and selecting the "Web Device List" button on the toolbar.=20
This will display a list of systems being managed by Compaq=20
Insight Manager and additionally will have underlined as=20
hyperlinks the systems on which the web agents are present=20
and enabled. To print out a list of only the web devices,=20
select the "Web Devices" hyperlink in the left column and=20
only web devices will be shown. Print this page from your
browser.
If for any reason the software cannot be updated or the patch
applied, Compaq recommends that the web-enabled components=20
of Compaq Management Software be temporarily disabled;=20
by following the procedures outlined at the end of this=20
advisory.=20
Compaq has always advised that web-enabled agents and utilities be
deployed only in private networks and not used on the Internet or on
systems outside the bounds of a firewall. Verify that you have
disallowed access to non-essential IP ports on your firewall or proxy
protecting the corporate network from the Internet. The disabling of
such ports, which include port 2301 (Device Management Port) and port
280 (Compaq Insight Manager XE port), is part of a sound security
policy for your network.=20
HOW DO I OBTAIN THE UPDATED COMPAQ MANAGEMENT SOFTWARE OR PATCH?
Updated software will be made available on the web through the system
software download site=20
(http://www.compaq.com/support/files/server/us/index.html) and will=20
also be proactively delivered directly to customers who have=20
installed Compaq ActiveUpdate. ). Compaq recommends registering for=20
the ActiveUpdate service, which is available at the following=20
URL: http://www.compaq.com/activeupdate.
OBTAINING SUPPORT ON THIS ISSUE
=20
The normal process for obtaining support on Compaq products is
pursued in the country of residence. . If you do not have=20
an established support process, you may find information=20
about support by visiting the Compaq web site for your=20
country. You can find that web site by picking your country=20
from the list at
http://www.compaq.com/worldwide/.=20
You may also find a support number for your locale from the table=20
at http://www.compaq.com/corporate/overview/world_offices.html
Support can help you to:=20
1. Identify if you have an affected version. =20
2. Obtain the appropriate SoftPaq when it is available.=20
3. Apply and run the SoftPaq.=20
Compaq support personnel are aware of the issues and the fixes and=20
are well versed in Compaq systems management products.=20
DISABLING THE WEB-ENABLED AGENTS=20
If you are unable to wait for the fix to become available, you can=20
use the following procedures to disable the web component of the=20
agents. For those cases where it is not possible to disable only=20
the web component, instructions are provided below for disabling=20
the entire agent or utility.=20
Microsoft Windows Servers
Web-based management is enabled, by default, when you install the=20
Compaq Server Management Agents for Windows NT. Perform the following
steps to disable web-based management:
1.From the START menu, select SETTINGS, then CONTROL PANEL.=20
2. From the CONTROL PANEL, select and run the SERVICES applet.=20
3. Select INSIGHT WEB AGENT from the list of services.=20
4. If it is running, click the button marked STOP.=20
5. To prevent it from automatically starting again, click STARTUP and
then select DISABLED.
6. Click OK.=20
7. Click CLOSE.=20
This will stop the web agents and prevent them from starting
automatically. SNMP management is still enabled.=20
For Windows 2000 - Right click My Computer on the desktop; select
Manage. =20
This will display a window titled "Computer Management", Click the=20
"Services" item under the "Services and Applications" node. =20
The right side of the window will show the services=20
installed on the system. Perform steps 3 through 7=20
from above.
NetWare Server Agents
If you enabled web-based management when you installed the Compaq=20
Management Agents for NetWare, and later would like to disable it,=20
perform the following steps from the NetWare server console:=20
1. LOAD CPQAGIN.=20
2. Select the option "Configure Existing NetWare Agents".
3. Select the line that mentions the loading of CPQWEBAG and select
NO.=20
4. Save changes and exit CPQAGIN.=20
This prevents the web-enabled agents from loading. SNMP management is
still enabled. =20
Linux Server Agents=20
To stop running web agent:
1. Log in as "root".
2. Run "/etc/rc.d/init.d/cmafdtn stop cmawebd" command.
To disable web agent so it will not start during reboot or run level
changes:
1. Log in as "root".
2. Edit "/etc/rc.d/init.d/cmafdtn" file (using vi or other
editors)=20
and remove "cmawebd" from following line:
PNAMES=3D"cmafdtnpeerd cmahostd cmathreshd cmawebd"
SCO UnixWare 7 Agents (UnixWare 2 agents are NOT Web-Enabled)=20
To stop running web agent:
1. Log in as "root":
2. Run "sh /etc/init.d/cmaweb stop" command.
To disable web agent so it will not be started during reboot or=20
when entering multi-user mode:
1. Log in as "root".
2. Run "rm /etc/rc2.d/[SK]*cmaweb" command.
SCO OpenServer Agents=20
To stop running web agent:
1. Log in as "root".
- - - - 2. Run "sh /etc/cmaweb stop" command.
To disable Web Agent so it will not be started during reboot=20
or entering multi-user mode:
1. Log in as "root".
2. Run "rm /etc/rc2.d/[SK]*cmaweb" command.
Survey for Windows, Survey for NetWare, and Survey for Linux=20
It is not possible to disable only the web-component of Survey=20
Utility. Follow the instructions below to disable the full service:=20
Survey for Windows
- - - From the command prompt, type the following=20
command: %SystemDrive%\COMPAQ\SURVEY\SURVEY-U. . This will unload=20
the Survey service and prevent it from starting up on the next
reboot.
Survey for NetWare=20
To unload Survey for NetWare from the console screen, type the=20
following command: UNLOAD SURVEY=20
During the default Survey install, Survey is automatically=20
started by adding the line "load SURVEY -w10 -cWed.12,7 "=20
to the AUTOEXEC.NCF. To prevent Survey from automatically=20
starting next time the server is restarted, remove that line.
Survey for Linux
To stop the Survey for Linux web daemon, type the following command:
kill `ps -e | grep surveywebd | awk '{print $1}'`
System Healthcheck
1. Change to the SHC bin directory=20
( e.g. cd %systemdrive%\compaq\shc\bin).
2. Stop the service by typing "net stop cpqshc".
3. Remove the service by typing "shcsvc -remove".
Note that the command line interface to SHC will continue to work.=20
Compaq Power Management Agents
To stop running web agent:
1. From the Windows Control Panel, double-click "Services".
2. In the Services dialog list box, click on "Compaq=20
Power Management Web Agent".
3. Click the "Stop" button to stop the Agent.
To prevent the service from being restarted, click on the
"Startup..."=20
button and choose "Disabled", and then click "OK"..
OpenVMS Management Agents
To stop running web agent:
1. Log into the system account.
2. For V1.0 and V2.0
$@sys$specific:[wbem]stop_webagents
<mailto:$@sys$specific:[wbem]stop_webagents>
3. For V2.1 $@sys$specific:[wbem]wbem$shutdown
<mailto:$@sys$specific:[wbem]wbem$shutdown>
Compaq Management Agents and Tools for Servers for
SCO UnixWare 7 NonStop Clusters
To stop running web agent:
1. Login as "root".
2. Exexcute the following two command lines:
execute `onall /etc/init.d/cmaweb stop`
`chmod 777 /etc/init.d/cmaweb 000
Tru64 UNIX Management Agents
To stop running Web Agent:
1. Log in as "root".
2. Execute "/sbin/init.d/insightd stop" command.
To disable the Web Agents so they will not be started during=20
reboot or when entering multi-user mode:
1. Log in as "root".
2. On Tru64 UNIX V4.0f and V4.0g, execute "rm
/sbin/rc2.d/*insightd".
3. On Tru64 UNIX V5.0 and later, execute the=20
command: "/usr/sbin/rcmgr set INSIGHTD_CONF -1
To enable the Web Agents again once the Patch Kit has been
installed:
1. Log in as "root".
2. On Tru64 UNIX V4.0f and V4.0g, execute the command:
"ln -s /sbin/init.d/insightd/sbin/rc2.d/ Kxxinsightd"=20
where xx is any sequence Nb after the one used for snmpd =20
=20
3. On Tru64 UNIX V5.0 and later, execute the=20
command: "/usr/sbin/rcmgr set INSIGHTD_CONF 1".
Desktop and Portable Web-Enabled Agents
To remove the web-enabled components from the desktop and=20
portables agents, follow the instructions below to uninstall=20
the agents using the Add/Remove feature in Windows systems,=20
then reinstall the agents without the DMI web components.
Uninstalling Web-Enabled Desktop Agent from a Windows 9x/NT system=20
1. From the START menu, select SETTINGS, then CONTROL PANEL.=20
2. From the CONTROL PANEL, select ADD/REMOVE PROGRAMS.
3. In the INSTALL/UNINSTALL tab, select "Compaq Insight Management=20
Web Agent".4. Click ADD/REMOVE button to remove the agent.=20
For desktops and workstations, do not check "DMI Web Component"=20
during the installation.
To install the Compaq Management Agents for portables without=20
web support, select "custom" and then select "DMI options". Click=20
on the "Change" button. Remove the check marks for "Compaq DMI Web
Agent" and "Compaq DMI Web Viewer".
=20
COMPAQ AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS=20
ABOUT THE SUITABILITY OF THE INFORMATION CONTAINED IN THE=20
DOCUMENTS AND RELATED GRAPHICS AND/OR SOFTWARE PUBLISHED=20
ON THIS SERVER FOR ANY PURPOSE. ALL SUCH DOCUMENTS AND RELATED=20
GRAPHICS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND=20
ARE SUBJECT TO CHANGE WITHOUT NOTICE. THE ENTIRE RISK ARISING=20
OUT OF THEIR USE REMAINS WITH THE RECIPIENT. IN NO EVENT SHALL=20
COMPAQ AND/OR ITS RESPECTIVE SUPPLIERS BE LIABLE FOR ANY DIRECT,=20
CONSEQUENTIAL, INCIDENTAL, SPECIAL, PUNITIVE OR OTHER DAMAGES=20
WHATSOEVER (INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF=20
BUSINESS PROFITS, BUSINESS INTERRUPTION, OR LOSS OF BUSINESS=20
INFORMATION), EVEN IF COMPAQ HAS BEEN ADVISED OF THE POSSIBILITY=20
OF SUCH DAMAGES.
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.1
iQA/AwUBO7UuIjnTu2ckvbFuEQI+JACg+d3ZS7DsFE2V5umduf/yNmtvqJ8An0SD
zn+3eb75bd1iYa8+LiN2LJXK
=3DPeqa
-----END PGP SIGNATURE-----
---
You are currently subscribed to security as: aleph1@securityfocus.com
To unsubscribe send a blank email to leave-security-10497E@list.support.compaq.com