AUSCERT External Security Bulletin Redistribution

         SSRT3622 Potential Security Vulnerabilities in Bind v920
                              14 October 2003


        AusCERT Security Bulletin Summary

Product:                Bind v920
Publisher:              Hewlett-Packard
Operating System:       HP-UX B.11.22
                        HP-UX B.11.11
                        HP-UX B.11.00
Platform:               HP9000
Impact:                 Denial of Service
Access Required:        Remote
CVE Names:              CAN-2003-0543 CAN-2003-0544 CAN-2003-0545

Ref:                    AL-2003.18

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

Hash: SHA1

 Originally issued: 08 October 2003
 SSRT3622 Potential Security Vulnerabilities in Bind v920

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

The information in the following Security Bulletin should be
acted upon as soon as possible.  Hewlett-Packard Company 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: 1. Certain ASN.1 encodings that are rejected as invalid
            by the parser can trigger a bug in the deallocation
            of the corresponding data structure, corrupting the
            stack.  This can be used as a denial of service
            attack.  It is currently unknown whether this can be
            exploited to run malicious code. This issue does not
            affect OpenSSL 0.9.6.

            More details are available at:

         2. Unusual ASN.1 tag values can cause an out of bounds
            read under certain circumstances, resulting in a
            denial of service vulnerability.
            More details are available at:

         3. A malformed public key in a certificate will crash
            the verify code if it is set to ignore public key
            decoding errors.  Exploitation of an affected
            application would result in a denial of service

         4. Due to an error in the SSL/TLS protocol handling,
            a server will parse a client certificate when one is
            not specifically requested.

IMPACT:   Potential Denial of Service

PLATFORM: HP9000 Servers running HP-UX releases B.11.00, B.11.11,
          and B.11.22, only with the BINDv920 installed.

SOLUTION: Until a product upgrade is available, download and
          install the appropriate depot from the ftp site
          (see below).

      Bind9.2 for B.11.00         BIND920.11.00.depot
      Bind9.2 for B.11.11         BIND920.11.11.depot
      Bind9.2 patch for B.11.22   PHNE_29859.depot

                Install the product containing the fix.

AVAILABILITY: The depots or patch are available now, via ftp
              (see below).
              This bulletin will be updated when a product
              upgrade is available.
 A. Background
    An SSL/TLS testing suite developed by the NISCC (National
    Infrastructure Security Co-Ordination Centre in the UK) has
    identified ASN.1 parsing vulnerabilities in OpenSSL.


     The following is a list by HP-UX revision of
     affected filesets or patches and fix information.
     To determine if a system has an affected version,
     search the output of "swlist -a revision -l fileset"
     for an affected fileset or patch, then determine if
     a fixed revision or applicable patch is installed.

     HP-UX B.11.00
     fix: install revision B. from BIND920.11.00.depot

     HP-UX B.11.11
     fix: install revision B. from BIND920.11.11.depot

     HP-UX B.11.22
     fix: install PHNE_29859.depot


 B. Recommended solution
    Note: These fixes should be applied to all systems using
    DNS, including those systems with client programs only.

    Notes on Bind Versions (B.11.00 and B.11.11)

    Bind is available on B.11.00 and B.11.11 as part of
    the base operating system and as a web upgrade.
    Both versions (base os and web upgrade) may be
    installed on a system simultaneously.  Only one
    version can be active.  The active version can
    be changed via a script.

    The base os versions are updated via patches.  The
    web upgrade versions are updated by installing a
    later web upgrade.  The web upgrade versions are
    not patched, instead are simply newer versions.

    If a web upgrade version is active it is not possible
    to patch the base os version.  It is necessary to
    switch to the base os version with the following
    command before applying the patch:

     /usr/bin/enable_inet -r bind

    If you are running a web upgrade version and do not
    intend to re-enable the base os version, it is not
    necessary to patch the base os version.  However,
    since the base os version can be re-enabled with
    the script, you may want to patch the base os version
    even though it is not active.  Similarly, if you have
    installed a web upgrade version and have switched
    back to the base os version, you may want to update
    to the latest web upgrade version or use swremove(1)
    to remove the web upgrade version entirely.

    Identifying the Active Version (B.11.00/B.11.11)

    Execute the following command:

     what /usr/sbin/named | grep named

    The bind version will be on the named line.
    For example:

     named 9.2.0 Thu Jul 18 11:58:39 GMT 2002

    Identifying the Web Upgrade Version (B.11.00/B.11.11)

    If the file /usr/contrib/bind/usr/sbin/named exists,
    execute the following:

     what /usr/contrib/bind/usr/sbin/named | grep named

    The bind version will be on the named line.
    If the version is anything other than 9.2.0, this bulletin
    does not apply to the system being examined.

    Until a product upgrade is available, download and install
    install the appropriate depot from the ftp site.

      1. Download the appropriate .depot.gz from the ftp site.
         (This file is temporary and will be deleted when a
         product upgrade is available from itrc.hp.com).

        System:    hprc.external.hp.com  (
        Login:     bind920
        Password:  bind920

        FTP Access: ftp://bind920:bind920@hprc.external.hp.com/
                or: ftp://bind920:bind920@
                or: ftp hprc.external.hp.com

        Note: There is an ftp defect in IE5 that may result in
               a browser hang.  To work around this:
        - Select Tools -> Internet Options -> Advanced
        - Un-check the option:
                  [ ] Enable folder view for FTP sites
      2. To fix the problem, copy the appropriate depot file to
         a protected directory and unpack it.

           1691634068  8498721  BIND920.11.00.depot.gz
           2647615337  8647352  BIND920.11.11.depot.gz
           1640049049 12927378  PHNE_29859.depot.gz


      3. Install the appropriate depot using swinstall(1).

 C. To subscribe to automatically receive future NEW HP Security
    Bulletins from the HP IT Resource Center via electronic
    mail, do the following:

    Use your browser to get to the HP IT Resource Center page


    Use the 'Login' tab at the left side of the screen to login
    using your ID and password.  Use your existing login or the
    "Register" button at the left to create a login, in order to
    gain access to many areas of the ITRC.  Remember to save the
    User ID assigned to you, and your password.

    In the left most frame select "Maintenance and Support".

    Under the "Notifications" section (near the bottom of
    the page), select "Support Information Digests".

    To -subscribe- to future HP Security Bulletins or other
    Technical Digests, click the check box (in the left column)
    for the appropriate digest and then click the "Update
    Subscriptions" button at the bottom of the page.


    To -review- bulletins already released, select the link
    (in the middle column) for the appropriate digest.

    NOTE: Using your itrc account security bulletins can be
          found here:

    To -gain access- to the Security Patch Matrix, select
    the link for "The Security Bulletins Archive".  (near the
    bottom of the page)  Once in the archive the third link is
    to the current Security Patch Matrix. Updated daily, this
    matrix categorizes security patches by platform/OS release,
    and by bulletin topic.  Security Patch Check completely
    automates the process of reviewing the patch matrix for
    11.XX systems.  Please note that installing the patches
    listed in the Security Patch Matrix will completely
    implement a security bulletin _only_ if the MANUAL ACTIONS
    field specifies "No."

    The Security Patch Check tool can verify that a security
    bulletin has been implemented on HP-UX 11.XX systems providing
    that the fix is completely implemented in a patch with no
    manual actions required.  The Security Patch Check tool cannot
    verify fixes implemented via a product upgrade.

    For information on the Security Patch Check tool, see:

    The security patch matrix is also available via anonymous


    On the "Support Information Digest Main" page:
    click on the "HP Security Bulletin Archive".

    The PGP key used to sign this bulletin is available from
    several PGP Public Key servers.  The key identification
    information is:

       HP Security Response Team (Security Bulletin signing only)
       Fingerprint =
         6002 6019 BFC1 BC62 F079 862E E01F 3AFC 2D2A 7D59

    If you have problems locating the key please write to
    security-alert@hp.com.  Please note that this key is
    for signing bulletins only and is not the key returned
    by sending 'get key' to security-alert@hp.com.

 D. To report new security vulnerabilities, send email to


    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.


(c)Copyright 2003 Hewlett-Packard Company
Hewlett-Packard Company shall not be liable for technical or
editorial errors or omissions contained herein. The information
in this document is subject to change without notice.
Hewlett-Packard Company and the names of HP products referenced
herein are trademarks and/or service marks of Hewlett-Packard
Company.  Other product and company names mentioned herein may be
trademarks and/or service marks of their respective owners.


Version: PGP 8.0


- --------------------------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.

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:


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