Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:6680
HistoryAug 30, 2004 - 12:00 a.m.

[security bulletin] SSRT4779 - rev.0 HP-UX Netscape NSS Library Suite SSLv2 remote buffer overflow

2004-08-3000:00:00
vulners.com
17

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

HP SECURITY BULLETIN

HPSBUX01070 REVISION: 0

SSRT4779 HP-UX Netscape NSS Library Suite SSLv2
remote buffer overflow


NOTICE:
There are no restrictions for distribution of this Bulletin
provided that it remains complete and intact.

The information in this Security bulletin should be acted upon
as soon as possible.

INITIAL RELEASE: 23 August 2004

POTENTIAL SECURITY IMPACT: Remote buffer overflow and
arbitrary code execution

SOURCE: HEWLETT-PACKARD COMPANY
HP Software Security Response Team

REFERENCES: http://xforce.iss.net/xforce/alerts/id/180

VULNERABILITY SUMMARY:
A potential security vulnerability has been identified with
Network Security Services (NSS) library suite using SSLv2 ciphers
running on HP-UX. A buffer overflow could be exploited remotely
to execute arbitrary code or create a Denial of Service against
products or services that implement vulnerable versions of the
NSS library.

SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions
are listed.

Any application or product that integrates the NSS library suite
and which implements SSLv2 ciphers may be affected.
Netscape - Directory Server (NDS) - currently supported versions,
Netscape - Administration Server (AS) - currently supported
versions.

BACKGROUND:
Internet Security Systems, Inc. (ISS) has reported buffer
overflow vulnerabilities in all known releases of the Network
Security Services (NSS) library suite.

http://xforce.iss.net/xforce/alerts/id/180

AFFECTED VERSIONS

Note: To determine if a system has an affected version,
search the output of "swlist -a revision -l fileset"
for an affected fileset. Then determine if the
recommended patch or update is installed.

HP-UX B.11.23
HP-UX B.11.11
HP-UX B.11.00

For versions NDS 6.02, and 6.11 with AS 6.01 and 6.1
NetscapeDirSvr6.NDS-SLAPD
NetscapeDirSvr6.NDS-ADM
action: follow procedure described in the Resolution section.

For version NDS 4.16 with AS 4.2
NscapeDir40SrvUS.DirectoryServer
NscapeDir40SrvUS.AdminServer
action: upgrade to NDS 6.11.

END AFFECTED VERSIONS

NOTE: If still using NDS version 4.16 HP recommends upgrading
to version 6.11 or subsequent and following the
recommendations herein.

This bulletin will be updated when a new NDS release is
available.

RESOLUTION:
Disabling all SSLv2 cipher suites effectively mitigates these
vulnerabilities.

NOTE: Simply disabling SSLv2 does not fully protect against
attack. All SSLv2 cipher suites must be disabled explicitly
in order to perform this mitigation.

Instructions for disabling the SSLv2 cipher suites for Netscape
Directory Server (NDS) and Administration Server (AS) are
provided below.

A. Netscape Directory Server (NDS)

These changes apply to Netscape Directory Server versions
6.02 and 6.11.

  1. Stop NDS.
  2. Open the
    /var/opt/netscape/servers/slapd-{instance}/config/dse.ldif
    file in an editor.
  3. DisablealloftheSSLv2ciphersinthe"dn:cn=encryption,cn=config"
    entry.
    To accomplish this, add the following to the comma separated
    list of ciphers in the "nsSSL3ciphers" attribute:
    -rc4
    -rc4export
    -rc2
    -rc2export
    -des
    -desede3

It is important to include the minus sign before each cipher when
modifying the "nsSSL3ciphers" to negate the attribute in order to
tell Netscape Directory Server not to support those ciphers.

For example, the nsSSL3ciphers attribute with the correct
ciphers disabled:

nsSSL3Ciphers:
-rsa_null_md5,+rsa_rc4_128_md5,+rsa_rc4_40_md5,+rsa_rc2_40_md5,
+rsa_des_sha,+rsa_fips_des_sha,+rsa_3des_sha,+rsa_fips_3des_sha,
+fortezza,+fortezza_rc4_128_sha,+fortezza_null,
+tls_rsa_export1024_with_rc4_56_sha,
+tls_rsa_export1024_with_des_cbc_sha,
-rc4,-rc4export,-rc2,-rc2export,-des,-desede3

  1. Start NDS.

NOTE: If modification of cipher preferences is performed through
the Directory Server Console, any previous entries added
manually will be lost, and the process of modifying the
dse.ldif file will be required again.

B. Administration Server (AS)

To disable SSLv2 via the admin server console:

  1. Login to admin server console
  2. Select the Administration Server
  3. Select the Configuration tab
  4. Select the Encryption Tab
  5. Click the Cipher Settings button
  6. Uncheck all ciphers in the SSL 2.0 tab
  7. Click Ok, then Save
  8. Restart the server

To disable SSLv2 manually via the configuration files:

  1. Stop the server.

  2. Edit /var/opt/netscape/servers/admin-serv/config/server.xml
    a. In the SSLPARAMS element there is an SSLv2 attribute.
    Set this to "off".
    b. To also disable all of the SSLv2 ciphers, replace "+" with
    "-" in the ssl2ciphers attribute for all of the ciphers
    listed.

An example follows:
ssl2ciphers="-rc4,-rc4export,-rc2,-rc2export,
-des,-desede3" ssl3="on"
ssl3tlsciphers="+rsa_rc4_128_md5,+rsa_3des_sha,+rsa_des_sha,
+rsa_rc4_40_md5,+rsa_rc2_40_md5,-rsa_null_md5"

  1. Edit /var/opt/netscape/servers/admin-serv/config/local.conf
    a. In the configuration.encryption.nsSSL2 attribute,
    set the value to "off".
    b. To also disable all of the SSLv2 ciphers, replace "+" with
    "-" in the configuration.encryption.nsSSL2Ciphers attribute
    for all of the ciphers listed.

An example follows:
configuration.encryption.nsSSL2: off
configuration.encryption.nsSSL3: on
configuration.encryption.nsSSL2Ciphers: -desede3,-des,-rc4,-rc2,
-rc4export,-rc2export
configuration.encryption.nsSSL3Ciphers: +fips_3des_sha,
+rsa_des_sha,-rsa_null_md5,+rsa_rc4_128_md5,+rsa_rc2_40_md5,
+fips_des_sha,+rsa_rc4_40_md5,+rsa_3des_sha

  1. Start the server

MANUAL ACTIONS: Yes - NonUpdate
For Netscape Directory Server (NDS) 4.16 upgrade to 6.11 and
follow the procedure in the Resolution section of this bulletin.

For Netscape Directory Server (NDS) 6.02 and 6.11 follow the
procedure in the Resolution section of this bulletin.

For Administration Server (AS) 4.2 upgrade to 6.01 or 6.1 and
follow the procedure in the Resolution section of this bulletin.

For Administration Server (AS) 6.01 and 6.1 follow the
procedure in the Resolution section of this bulletin.

BULLETIN REVISION HISTORY:
Revision 0 19 August 2004
Initial release

  • The software product category that this Security Bulletin
    relates to is represented by the 5th and 6th characters of the
    Bulletin number: GN=General, MA=Management Agents,
    MI=Misc. 3rd party, MP=HP-MPE/iX, NS=HP NonStop Servers,
    OV=HP OpenVMS, PI=HP Printing & Imaging, ST=HP Storage,
    TU=HP Tru64 UNIX, TL=Trusted Linux, UX=HP-UX, VV=Virtual Vault

SUPPORT: For further information, contact HP Services support
channel.

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:
Driver and Support Alerts/Notifications Sign-up: Product
Selection
Under Step1: your products

  1. Select product category:
    • a minimum of servers must be selected.
  2. Select product family or search:
    • a minimum of one product must be selected.
  3. Add a product:
    • a minimum of one product must be added.
      In Step 2: your operating system(s)
    • check ALL operating systems for which alerts are required.
      Complete the form 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.

Note: In addition to the individual alerts/notifications for the
selected operating systems/products, subscribers will
automatically receive one copy of alerts for non-operating system
categories (i.e., a subscriber who signs up for all six operating
system alerts will only receive one copy of all the non-operating
system alerts).

HP-UX SPECIFIC SECURITY BULLETINS*:
The HP-UX Security Patch Matrix is available here:
http://itrc.hp.com/service/cki/docDisplay.do?
docId=hpuxSecurityMatrix
Or via anonymous ftp:
ftp://ftp.itrc.hp.com/export/patches/hp-ux_patch_matrix/

The HP-UX Security Patch Matrix, updated daily, categorizes
security patches by platform/OS release, and by Bulletin topic.
The Security Patch Check tool completely automates the process of
reviewing the Security Patch Matrix for HP-UX 11.XX Versions.

NOTE: Installing patches listed in the Security Patch Matrix will
completely implement the RESOLUTION in the Security Bulletin
only if there are no MANUAL ACTIONS included.

The Security Patch Check tool can also verify that a Security
Bulletin RESOLUTION has been implemented on HP-UX 11.XX Versions
provided that no MANUAL ACTIONS were included. The Security Patch
Check tool cannot verify patches implemented via product upgrade.

For information on the Security Patch Check tool, see:
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/
displayProductInfo.pl?productNumber=B6834AA

REPORT: To report a potential security vulnerability with any HP
supported product, send Email to: [email protected]. It is
strongly recommended that security related information being
communicated to HP be encrypted using PGP, especially exploit
information. To obtain the security-alert PGP key please send an
e-mail message to [email protected] with the Subject of
'get key' (no quotes).

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 2004 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 or 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.0.2

iQA/AwUBQSzL5+AfOvwtKn1ZEQIi7QCg6GuR+hGcfc65UoPX5ZdwsUySgHkAn3xG
wfG1I9BgLHdKOU3YO5L9zlRq
=o2Iu
-----END PGP SIGNATURE-----