<<< Date Index >>>     <<< Thread Index >>>

[security bulletin] HPSBUX02108 SSRT061133 rev.12 - HP-UX Running Sendmail, Remote Execution of Arbitrary Code



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

SUPPORT COMMUNICATION - SECURITY BULLETIN

Document ID: c00629555
Version: 12

HPSBUX02108 SSRT061133 rev.12 - HP-UX Running Sendmail, Remote Execution of 
Arbitrary Code

NOTICE: The information in this Security Bulletin should be acted upon as soon 
as possible.

Release Date: 2006-07-18
Last Updated: 2006-07-19

Potential Security Impact: Remote Execution of Arbitrary Code

Source: Hewlett-Packard Company, 
            HP Software Security Response Team

VULNERABILITY SUMMARY
A vulnerability has been identified in Sendmail which may allow 
a remote attacker to execute arbitrary code.

References: CVE-2006-0058

SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions are listed.
 ->HP-UX B.11.00, B.11.04, B.11.11, B.11.23.

BACKGROUND

CERT has published a vulnerability report available at: 
http://www.kb.cert.org/vuls/id/834865

This bulletin will be revised as other versions of Sendmail become available.

To determine if an HP-UX system has an affected version, 
search the output of "swlist -a revision -l fileset" for one of 
the filesets listed below. For affected systems verify that 
the recommended action has been taken.

AFFECTED VERSIONS

 ->For sendmail 8.13.3
HP-UX B.11.23
===========
SMAIL-UPGRADE.INET-SMAIL
SMAIL-UPGRADE.INET2-SMAIL
 ->action: install revision B.11.23.01.003 or subsequent,
modify /etc/mail/sendmail.cf to add 'restrictqrun' to the PrivacyOptions.
 ->URL: 
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SMAIL813

 ->HP-UX B.11.11
============
SMAIL-UPGRADE.INETSVCS-SMAIL
 ->action: install revision B.11.11.02.004 or subsequent,
modify /etc/mail/sendmail.cf to add 'restrictqrun' to the PrivacyOptions.
 ->URL: 
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SMAIL813

For sendmail 8.11.1
HP-UX B.11.23
===========
InternetSrvcs.INETSVCS2-RUN
action: install UNOF_INET31734_4.depot,
modify /etc/mail/sendmail.cf to add 'restrictqrun' to the PrivacyOptions.
 ->UNOF_INET31734_1.INETSVCS2-RUN
 ->UNOF_INET31734_3.INETSVCS2-RUN
action: remove any official patch if installed,
modify /etc/mail/sendmail.cf to add 'restrictqrun' to the PrivacyOptions.
URL: ftp://sendmail:sendmail@xxxxxxxxxxxxxxxxxxxx/UNOF_INET31734_4.depot

HP-UX B.11.11
===========
SMAIL-811.INETSVCS-SMAIL
action: install revision B.11.11.01.009 or subsequent,
modify /etc/mail/sendmail.cf to add 'restrictqrun' to the PrivacyOptions.
URL: ftp://sendmail:sendmail@xxxxxxxxxxxxxxxxxxxx/sendmail-811_09.depot

 ->HP-UX B.11.00
============
SMAIL-811.INETSVCS-SMAIL
action: install revision B.11.00.01.008 or subsequent,
modify /etc/mail/sendmail.cf to add 'restrictqrun' to the PrivacyOptions.
 ->URL: 
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SMAIL811

For sendmail 8.9.3
HP-UX B.11.11
===========
InternetSrvcs.INETSVCS-RUN
 ->UNOF_INET_29774_1.INETSVCS-RUN
 ->UNOF_INET_29774_2.INETSVCS-RUN
 ->UNOF_INET_29774_3.INETSVCS-RUN
action: remove any unofficial patch if installed, install PHNE_31917 or 
subsequent,
modify /etc/mail/sendmail.cf to add 'restrictqrun' to the PrivacyOptions.

HP-UX B.11.00
===========
InternetSrvcs.INETSVCS-RUN
UNOF_INET_29773_1.INETSVCS-RUN
UNOF_INET_29773_2.INETSVCS-RUN
UNOF_INET_29773_3.INETSVCS-RUN
action: remove any unofficial patch if installed, install PHNE_32006 or 
subsequent,
modify /etc/mail/sendmail.cf to add 'restrictqrun' to the PrivacyOptions.

 ->HP-UX B.11.04
============
 ->InternetSrvcs.INETSVCS-RUN
 ->UNOF_INET_29773_1.INETSVCS-RUN
 ->UNOF_INET_29773_2.INETSVCS-RUN
 ->UNOF_INET_29773_3.INETSVCS-RUN
 ->action: remove any unofficial patch if installed, install PHNE_34927 or 
subsequent,

For sendmail 8.8.6
HP-UX B.11.00
==========
InternetSrvcs.INETSVCS-RUN
 ->UNOF_INET_29773_1.INETSVCS-RUN
 ->UNOF_INET_29773_2.INETSVCS-RUN
 ->UNOF_INET_29773_3.INETSVCS-RUN
 ->action: remove any unofficial patch if installed, install PHNE_32006 or 
subsequent,
modify /etc/mail/sendmail.cf to add 'restrictqrun' to the PrivacyOptions.

END AFFECTED VERSIONS

RESOLUTION

HP has made the following software updates and patches available to resolve the 
issue.

The patches are available from http://itrc.hp.com
while webupgrades can be downloaded from http://software.hp.com

The preliminary software updates can be downloaded via ftp from:

System: hprc.external.hp.com (192.170.19.100)
Login: sendmail
Password: sendmail (NOTE: CASE-sensitive)

ftp://sendmail:sendmail@xxxxxxxxxxxxxxxxxxxx
or
ftp://sendmail:sendmail@xxxxxxxxxxxxxx

 ->The webupgrades for sendmail 8.13.3 on B.11.11 as well as B.11.23 can be 
downloaded from http://software.hp.com using the URL above.
The cksum and md5 output for the preliminary depots are listed below.
The cksum and md5 output are also found the README.txt.pgp on the ftp site.

For sendmail 8.13.3, HP-UX B.11.23
sendmail -bs banner:
Sendmail version 8.13.3 - Revision 1.003 - 2006/05/24
what(1) string:
Sendmail version 8.13.3 - Revision 1.003 - 05/24/2006

For sendmail 8.13.3, HP-UX B.11.11
 ->sendmail -bs banner:
 ->Sendmail version 8.13.3 - Revision 2.004 - 2006/06/29
 ->what(1) string:
 ->Sendmail version 8.13.3 - Revision 2.004 - 06/29/2006

For sendmail 8.11.1, HP-UX B.11.23
Note: If UNOF_INET31734_1 .depot or UNOF_INET31734_3.depot has been installed, 
it must be removed using swremove(1M) before installing UNOF_INET31734_4.depot.
UNOF_INET31734_4.depot
cksum 2157915677 3317760
md5 10e6bf81c4a5ca75e77ae942c57b2641
sendmail -bs banner:
Sendmail 8.11.1 (UNOF_INET31734_4)
what(1) string:
version.c 8.11.1 (Berkeley) - 2006/05/16 (UNOF_INET31734_4)

For sendmail 8.11.1, HP-UX B.11.11
sendmail-811_09.depot
cksum 1490250822 2938880
md5 c1dbd4784e91282e6a08a88944ffe22b
sendmail -bs banner:
Sendmail 8.11.1 (Revision 1.9)
what(1) string:
version.c 8.11.1 (Berkeley) - (Revision 1.9) - 2006/05/16

For sendmail 8.11.1, HP-UX B.11.00
 ->sendmail -bs banner:
 ->Sendmail 8.11.1 - (Revision 1.8)
 ->what(1) string:
 ->version.c 8.11.1 (Berkeley) - (Revision 1.8) - 2006/05/02

For sendmail 8.9.3, HP-UX B.11.11
If UNOF_INET_29774_3.depot or previous is installed, 
remove it using swremove(1M). Then install:
PHNE_31917 or subsequent

For sendmail 8.9.3, HP-UX B.11.00
If UNOF_INET_29772_3.depot or previous is installed, 
remove it using swremove(1M). Then install:
PHNE_32006 or subsequent

 ->For sendmail 8.9.3, HP-UX B.11.04
 ->If UNOF_INET_29772_3.depot or previous is installed, 
 ->remove it using swremove(1M). Then install:
 ->PHNE_34927 or subsequent
 ->sendmail -bs banner:
 ->Sendmail 8.9.3 (PHNE_32006)/8.9.3; Fri, 7 Jul 2006
 ->what(1) string:
 ->version.c 8.9.3.1 (Berkeley) 11/05/2006 (PHNE_32006)
 ->Special Installation Instructions - Note: sendmail is not supported in 
daemon 
 ->mode on VVOS platforms. It is provided as a mailing agent (outbound) only.

For sendmail 8.8.6, HP-UX B.11.00
If UNOF_INET_29772_3.depot or previous is installed, 
remove it using swremove(1M). Then install:
PHNE_32006 or subsequent
Note: PHNE_32006 or subsequent upgrades sendmail 8.8.6 to sendmail 8.9.3.


For all versions of sendmail:
modify sendmail.cf to add 'restrictqrun' to the PrivacyOptions.

After installation, verify output of what /usr/sbin/sendmail.
To check if installations are running sendmail 8.8.6 execute 
"what /usr/sbin/sendmail" and check the version string.

MANUAL ACTIONS: Yes - NonUpdate
For all versions modify /etc/mail/sendmail.cf to add 'restrictqrun' to the 
PrivacyOptions
HP-UX B.11.11 - install preliminary software
HP-UX B.11.23 - install preliminary software


PRODUCT SPECIFIC INFORMATION
HP-UX Security Patch Check: Security Patch Check revision B.02.00 analyzes all 
HP-issued Security Bulletins to provide a subset of recommended actions that 
potentially affect a specific HP-UX system. For more information: 
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6834AA

HISTORY:
Version: 1 (rev.1) - 25 March 2006 Initial release
Version: 2 (rev.2) - 30 March 2006 updated md5 / cksum output
Version: 3 (rev.3) - 04 April 2006 updated B.11.23 depot, added 8.11.1 for 
B.11.23 depot
Version: 4 (rev.4) - 07 April 2006 added 8.9.3 depot for B.11.11
Version: 5 (rev.5) - 10 April 2006 clarified affected versions
Version: 6 (rev.6) - 12 April 2006 added 8.9.3 and 8.11.1 depots for B.11.00
Version: 7 (rev.7) - 18 April 2006 added 8.11.1 upgrade for HP-UX B.11.11
Version: 8 (rev.8) - 24 April 2006 replaced 8.9.3 depot for HP-UX B.11.00 and 
B.11.11
Version: 9 (rev.9) - 25 April 2006 added manual actions
Version: 10 (rev.10) - 03 May 2006 replaced 8.9.3 depot for HP-UX B.11.00 and 
B.11.11, 
                                                    added 8.11.1 depot for 
B.11.00
Version: 11 (rev.11) - 18 May 2006 sendmail 8.11.1 replacements 
UNOF_INET31734_4, 
                                                     sendmail-811_01.008 depot, 
and sendmail-811_09.depot, 
                                                     sendmail 8.9.3 new 
PHNE_31917, sendmail 8.8.6, 
                                                     sendmail 8.9.3 new 
PHNE_32006
Version: 12 (rev.12) - 18 July 2006 added webupgrades for 8.11.1 on B.11.00, 
                                                     and 8.13.3 on B.11.11; 
added patch for B.11.04.

Support: For further information, contact normal HP Services
support channel.

Report: To report a potential security vulnerability with any HP
supported product, send Email to: security-alert@xxxxxxx  It is
strongly recommended that security related information being
communicated to HP be encrypted using PGP, especially exploit
information.  To get the security-alert PGP key, please send an
e-mail message as follows:
  To: security-alert@xxxxxx
  Subject: get key

Subscribe: To initiate a subscription to receive future HP
Security Bulletins via Email:
http://h30046.www3.hp.com/driverAlertProfile.php?regioncode=NA&;
langcode=USENG&jumpid=in_SC-GEN__driverITRC&topiccode=ITRC

On the web page: ITRC security bulletins and patch sign-up
Under Step1: your ITRC security bulletins and patches
  - check ALL categories for which alerts are required and
    continue.
Under Step2: your ITRC operating systems
  - verify your operating system selections are checked and
    save.

To update an existing subscription:
http://h30046.www3.hp.com/subSignIn.php
Log in on the web page:
  Subscriber's choice for Business: sign-in.
On the web page:
  Subscriber's Choice: your profile summary
    - use Edit Profile to update appropriate sections.

To review previously published Security Bulletins visit:
http://www.itrc.hp.com/service/cki/secBullArchive.do

* The Software Product Category that this Security Bulletin
relates to is represented by the 5th and 6th characters of the
Bulletin number in the title:

    GN = HP General SW,
    MA = HP Management Agents,
    MI = Misc. 3rd party SW,
    MP = HP MPE/iX,
    NS = HP NonStop Servers,
    OV = HP OpenVMS,
    PI = HP Printing & Imaging,
    ST = HP Storage SW,
    TL = HP Trusted Linux,
    TU = HP Tru64 UNIX,
    UX = HP-UX,
    VV = HP Virtual Vault


System management and security procedures must be reviewed
frequently to maintain system integrity. HP is continually
reviewing and enhancing the security features of software products
to provide customers with current secure solutions.

"HP is broadly distributing this Security Bulletin in order to
bring to the attention of users of the affected HP products the
important security information contained in this Bulletin. HP
recommends that all users determine the applicability of this
information to their individual situations and take appropriate
action. HP does not warrant that this information is necessarily
accurate or complete for all user situations and, consequently, HP
will not be responsible for any damages resulting from user's use
or disregard of the information provided in this Bulletin. To the
extent permitted by law, HP disclaims all warranties, either
express or implied, including the warranties of merchantability
and fitness for a particular purpose, title and non-infringement."


(c)Copyright 2006 Hewlett-Packard Development Company, L.P.
Hewlett-Packard Company shall not be liable for technical or
editorial errors or omissions contained herein. The information
provided is provided "as is" without warranty of any kind. To the
extent permitted by law, neither HP nor its affiliates,
subcontractors or suppliers will be liable for incidental, special
or consequential damages including downtime cost; lost profits;
damages relating to the procurement of substitute products or
services; or damages for loss of data, or software restoration.
The information in this document is subject to change without
notice. Hewlett-Packard Company and the names of Hewlett-Packard
products referenced herein are trademarks of Hewlett-Packard
Company in the United States and other countries. Other product
and company names mentioned herein may be trademarks of their
respective owners.
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBRL9e4eAfOvwtKn1ZEQKyLQCfYTmeZjsnpe9+gIKMcMZrsGAu4JgAoOEi
2M6DuxfdLkwpVsL3eCoIVALY
=odnE
-----END PGP SIGNATURE-----