HP-UX CUE, CUD and LAND vulnerabilities

Aleph One (aleph1@DFW.DFW.NET)
Wed, 21 Jan 1998 11:23:21 -0600

---------- Forwarded message ----------
Date: Wed, 21 Jan 1998 11:21:45 -0500
From: HP Electronic Support Center <support_feedback@us-support2.external.hp.com>
To: security_info@us-support2.external.hp.com
Subject: Security Bulletins Digest

HP Support Information Digests

===============================================================================
o HP Electronic Support Center World Wide Web Service
---------------------------------------------------

If you subscribed through the HP Electronic Support Center and would
like to be REMOVED from this mailing list, access the
HP Electronic Support Center on the World Wide Web at:

http://us-support2.external.hp.com

Login using your HP Electronic Support Center User ID and Password.
Then select Support Information Digests. You may then unsubscribe from the
appropriate digest.
===============================================================================

Digest Name: Daily Security Bulletins Digest
Created: Wed Jan 21 11:13:37 EST 1998

Table of Contents:

Document ID Title
--------------- -----------
HPSBUX9801-074 Security Vulnerability in CUE under HP-UX
HPSBUX9801-075 Security Vulnerability in CDE on HP-UX
HPSBUX9801-076 Security Vulnerability with land on HP-UX

The documents are listed below.
-------------------------------------------------------------------------------

Document ID: HPSBUX9801-074
Date Loaded: 980121
Title: Security Vulnerability in CUE under HP-UX

-------------------------------------------------------------------------
HEWLETT-PACKARD SECURITY BULLETIN: #00074, 21 January 1998
-------------------------------------------------------------------------

The information in the following Security Advisory should be acted upon
as soon as possible. Hewlett-Packard will not be liable for any
consequences to any customer resulting from customer's failure to fully
implement instructions in this Security Advisory as soon as possible.

-------------------------------------------------------------------------
PROBLEM: /[usr/]bin/cue (known as CUE) has published security flaws.

PLATFORM: HP9000 series 800, releases HP-UX 8.X, 9.X, 10.X, and 11.0

DAMAGE: Users can gain unauthorized privileges.

SOLUTION: Remove, disable or otherwise render the executable unusable.

AVAILABILITY: N/A

-------------------------------------------------------------------------
I.
A. Background
Hewlett-Packard has been shipping Character-Terminal User Environment
(CUE) on its releases of HP-UX for Series 800 systems. These
multi-user systems support specific terminal types capable of running
Terminal Session Manager (TSM), including PC's and other non-HP
character based terminals. Of these, CUE is compatible only with
the following terminals:
HP700/92 HP700/94 HP2392 HP2394 VT320 VT100 WYSE60

CUE was intended to provide functionality in for terminal based
sessions similar to that of CDE for X windows based session.
CDE currently provides a richer functionality.

A security vulnerability has been made public which allows non-root
users to manipulate any file.

B. Fixing the problem
Since the release of HP-UX 10.30 (a developers release), the HP-UX
CUE system is officially obsolete, and has been deprecated in HP-UX
release 11.0. There will be no patches released to solve this issue.

Hewlett-Packard Company strongly recommends that system
administrators disable or remove cue from their systems, due to the
nature of this problem. No upgrades from existing releases
currently in use are necessary.

C. Recommended solution

The product has shipped in recent releases of HP-UX as a setuid
program. The default location for this product is /usr/bin/ and
can be disabled with:

chmod 000 /usr/bin/cue or rm /usr/bin/cue

For releases of HP-UX 10.X which support Software Distributor (SD)
issue the swmodify command as follows:

/usr/sbin/swmodify -x files="/usr/bin/cue" OS-Core.CMDS-MIN

In release HP-UX 9.X and earlier, the default location is /bin/cue.
Both cue and cuegetty are in /bin.

Cleanup of miscellaneous files associated with the product should
also be performed at this time. Specifically system administrators
should examine:
/[usr/s]bin/cuegetty (remove entirely),
/etc/inittab (remove references to cue and cuegetty),
.login (remove references to cue),
/usr/lbin/cuesession (remove entirely),
/usr/newconfig/etc/cue.inittab (remove entirely),
/usr/[old/]newconfig/etc/cue.dm (remove entirely),
/etc/cue.dm (remove entirely),
/usr/lib/nls/msg/C/cue.cat (remove entirely),
(cue.cat is the message catalog for localizations).

This is the official recommendation from Hewlett-Packard Company.

D. Current product status

Hewlett-Packard Company's recommendation is due to the rescoping of
product direction, coupled with the discontinued access to necessary
third party code. As a result no changes to its functionality will
be made now, nor at any time in the future. In the HP-UX release
10.30 release notes, developers were informed of pending product
obsolescence.

Hewlett-Packard recommends that all customers concerned with the
security of their HP-UX systems remove CUE (or verify that it is
not installed).

Again, no patches will be available for any releases of HP-UX.

If further assistance is desired please contact your HP Support
Representative.

D. To subscribe to automatically receive future NEW HP Security
Bulletins from the HP Electronic Support Center via electronic mail,
do the following:

Use your browser to get to the HP Electronic Support Center page at:

http://us-support.external.hp.com
(for US, Canada, Asia-Pacific, & Latin-America)

http://europe-support.external.hp.com (for Europe)

Click on the Technical Knowledge Database, register as a user
(remember to save the User ID assigned to you, and your password),
and it will connect to a HP Search Technical Knowledge DB page.
Near the bottom is a link to our Security Bulletin archive.
Once in the archive there is another link to our current
security patch matrix. Updated daily, this matrix is categorized
by platform/OS release, and by bulletin topic.

F. To report new security vulnerabilities, send email to

security-alert@hp.com

Please encrypt any exploit information using the security-alert
PGP key, available from your local key server, or by sending a
message with a -subject- (not body) of 'get key' (no quotes) to
security-alert@hp.com.

Permission is granted for copying and circulating this Bulletin to
Hewlett-Packard (HP) customers (or the Internet community) for the
purpose of alerting them to problems, if and only if, the Bulletin is
not edited or changed in any way, is attributed to HP, and provided
such reproduction and/or distribution is performed for non-commercial
purposes.

Any other use of this information is prohibited. HP is not liable
for any misuse of this information by any third party.
________________________________________________________________________
-----End of Document ID: HPSBUX9801-074--------------------------------------

Document ID: HPSBUX9801-075
Date Loaded: 980121
Title: Security Vulnerability in CDE on HP-UX

-------------------------------------------------------------------------
HEWLETT-PACKARD SECURITY BULLETIN: #00075, 21 January 1998
-------------------------------------------------------------------------

The information in the following Security Bulletin should be acted upon
as soon as possible. Hewlett-Packard will not be liable for any
consequences to any customer resulting from customer's failure to fully
implement instructions in this Security Bulletin as soon as possible.

-------------------------------------------------------------------------
PROBLEM: The dtappgather program can create vulnerabilities allowing
unauthorized privileged access or denial of service.

PLATFORM: HP9000 Series 700/800s running CDE on:
HP-UX 10.10, HP-UX 10.20,
HP-UX 10.24 (VVOS),
HP-UX 11.00

DAMAGE: The vulnerability could result in allowing a user
to gain unauthorized access to the system or to
create a denial of service.

SOLUTION: Apply one of:
PHSS_13723 HP-UX 10.10
PHSS_13724 HP-UX 10.20
PHSS_13725 HP-UX 10.30
PHSS_13772 HP-UX 10.24
PHSS_13406 HP-UX 11.00

AVAILABILITY: The patches are available now.
____________________________________________________________________

I.
A. Background
The dtappgather program does not adequately check all
information passed to it by users. By exploiting these
vulnerabilities, an attacker can gain either unauthorized
privileged access or create a denial of service on the system.

B. Fixing the problem
This problem can be eliminated by applying one of the
recommended patches.

C. Recommended solution
Apply the patch.

D. Impact of the patch
The patch eliminates the vulnerability.

E. To subscribe to automatically receive future NEW HP Security
Bulletins from the HP Electronic Support Center via electronic mail,
do the following:

Use your browser to get to the HP Electronic Support Center page at:

http://us-support.external.hp.com
(for US, Canada, Asia-Pacific, &amp; Latin-America)

http://europe-support.external.hp.com
(for Europe)

Click on the Technical Knowledge Database, register as a user
(remember to save the User ID assigned to you, and your password),
and it will connect to a HP Search Technical Knowledge DB page.
Near the bottom is a hyperlink to our Security Bulletin archive.
Once in the archive there is another link to our current
security patch matrix. Updated daily, this matrix is categorized
by platform/OS release, and by bulletin topic.

F. To report new security vulnerabilities, send email to

security-alert@hp.com

Please encrypt any exploit information using the security-alert
PGP key, available from your local key server, or by sending a
message with a -subject- (not body) of 'get key' (no quotes) to
security-alert@hp.com.

Permission is granted for copying and circulating this Bulletin to
Hewlett-Packard (HP) customers (or the Internet community) for the
purpose of alerting them to problems, if and only if, the Bulletin is
not edited or changed in any way, is attributed to HP, and provided
such reproduction and/or distribution is performed for non-commercial
purposes.

Any other use of this information is prohibited. HP is not liable
for any misuse of this information by any third party.
________________________________________________________________________
-----End of Document ID: HPSBUX9801-075--------------------------------------

Document ID: HPSBUX9801-076
Date Loaded: 980121
Title: Security Vulnerability with land on HP-UX

-------------------------------------------------------------------------
HEWLETT-PACKARD SECURITY BULLETIN: #00076, 21 January 1998
-------------------------------------------------------------------------

The information in the following Security Bulletin should be acted upon
as soon as possible. Hewlett-Packard will not be liable for any
consequences to any customer resulting from customer's failure to fully
implement instructions in this Security Bulletin as soon as possible.

-------------------------------------------------------------------------
PROBLEM: A TCP SYN packet with target host's address as both source and
destination can cause system hangs.

PLATFORM: HP9000 Series 7/800 running HP-UX releases 9.X, 10.X, and 11.00.

DAMAGE: Users on the network can cause system hangs.

SOLUTION: Apply patches listed below.

AVAILABILITY: All patches are available now.

-------------------------------------------------------------------------
I.
A. Background
CERT Advisory CA-97.28 discusses the widely available "land" program,
a denial of service tool that is effective against HP-UX systems.
land sends carefully crafted TCP packets (the source and destination
are identical).

B. Fixing the problem
The problem can be fixed by applying the appropriate cumulative ARPA
Transport patch mentioned below.

HP-UX release 11.00 HP9000 Series 700/800 PHNE_13692
HP-UX release 10.30 HP9000 Series 700/800 PHNE_13671
HP-UX release 10.20 HP9000 Series 800 PHNE_13468
HP-UX release 10.20 HP9000 Series 700 PHNE_13469
HP-UX release 10.10 HP9000 Series 800 PHNE_13470
HP-UX release 10.10 HP9000 Series 700 PHNE_13471
HP-UX release 10.01 HP9000 Series 800 PHNE_13472
HP-UX release 10.01 HP9000 Series 700 PHNE_13473
HP-UX release 10.00 HP9000 Series 800 PHNE_13474
HP-UX release 10.00 HP9000 Series 700 PHNE_13475
HP-UX release 9.04 HP9000 Series 800 PHNE_13476
HP-UX release 9.0[3,5,7] HP9000 Series 700 PHNE_13477
HP-UX release 9.01 HP9000 Series 700 PHNE_13478
HP-UX release 9.00 HP9000 Series 800 PHNE_13479

C. Impact of the patch
The patch changes the implementation of the ISO OSI stack such
that the host now enforces the rule that inbound packets are never
from itself - if packets claim otherwise, they are simply dropped.

D. To subscribe to automatically receive future NEW HP Security
Bulletins from the HP Electronic Support Center via electronic
mail, do the following:

User your browser to get to the HP Electronic Support Center page
at:
http://us-support.external.hp.com
(for US, Canada, Asia-Pacific, & Latin-America)

http://europe-support.external.hp.com (for Europe)

Click on the Technical Knowledge Database, register as a user
(remember to save the User ID assigned to you, and your password),
and it will connect to a HP Search Technical Knowledge DB page.
Near the bottom is a hyperlink to our Security Bulletin archive.
Once in the archive there is another link to our current
security patch matrix. Updated daily, this matrix is categorized
by platform/OS release, and by bulletin topic.

F. To report new security vulnerabilities, send email to

security-alert@hp.com

Please encrypt any exploit information using the security-alert
PGP key, available from your local key server, or by sending a
message with a -subject- (not body) of 'get key' (no quotes) to
security-alert@hp.com.

Permission is granted for copying and circulating this Bulletin to
Hewlett-Packard (HP) customers (or the Internet community) for the
purpose of alerting them to problems, if and only if, the Bulletin
is not edited or changed in any way, is attributed to HP, and
provided such reproduction and/or distribution is performed for
non-commercial purposes.

Any other use of this information is prohibited. HP is not liable
for any misuse of this information by any third party.
________________________________________________________________________
-----End of Document ID: HPSBUX9801-076--------------------------------------