[Security Bulletin] SSRT4696 rev.0 - HP Tru64 UNIX TCP Stack Remote Denial of Service (DoS)

From: Boren, Rich (SSRT) (rich.boren_at_hp.com)
Date: 12/23/04

  • Next message: Martin Mewes: "Re: Webmin BruteForce + Command execution - By Di42lo <DiAblo_2@012.net.il>"
    Date: Thu, 23 Dec 2004 12:33:26 -0700
    To: <bugtraq@securityfocus.com>
    
    

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

    HP SECURITY BULLETIN

    HPSBTU01077 REVISION: 0

    SSRT4696 rev.0 - HP Tru64 UNIX TCP Stack
                     Remote Denial of Service (DoS)

    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:
    22 December 2004

    POTENTIAL SECURITY IMPACT:
    Remote Denial of Service (DoS)

    SOURCE:
    HEWLETT-PACKARD COMPANY
    HP Software Security Response Team

    REFERENCES:
    NISCC Advisory 236929, CVE CAN-2004-0230

    VULNERABILITY SUMMARY:
        A potential security vulnerability has been identified in the
        Transmission Control Protocol (TCP) on HP Tru64 UNIX systems.
        The potential vulnerability could be remotely exploitable,
        resulting in denial of service (DoS).

    SUPPORTED SOFTWARE VERSIONS*: ONLY impacted versions are listed.
            HP Tru64 UNIX V5.1B PK4
            HP Tru64 UNIX V5.1B PK3
            HP Tru64 UNIX V5.1A PK6
            HP Tru64 UNIX V4.0G PK4
            HP Tru64 UNIX V4.0F PK8

    BACKGROUND:
      Special Instructions:

      The industry standard TCP specification (RFC793) has a
      vulnerability whereby established TCP connections can be
      reset by an attacker.

      TCP sessions, including Telnet, SSH, SFTP and HTTP may be
      disconnected without warning. TCP sessions that have been
      disconnected can be re-established.

      HP Tru64 UNIX has addressed this potential vulnerability, called
      a TCP reset attack, by providing a new kernel tunable variable,
      tcp_rst_win (TCP reset window).

      The tcp_rst_win variable mitigates the TCP reset attack by
      reducing the window size in which a TCP reset packet will be
      accepted by the Tru64 system.

      Set the tunable as follows:

      tcp_rst_win = -1 (default)

        Retains existing TCP behavior.

      tcp_rst_win = 2048

      Provides a level of protection which will significantly reduce
      the size of the TCP reset window while allowing for common TCP
      client/server sequence number variations. This will allow a
      reset packet to be accepted by the Tru64 system when the remote
      machine has unacknowledged outstanding packets of up to a total
      of 2048 bytes.

      tcp_rst_win = 0

       Provides maximum security against the potential DoS condition.

       Setting tcp_rst_win to "0" provides the highest level of
       protection without migrating to an IPSec environment. This
       setting restricts the acceptance of a reset packet to the
       current sequence number and may result in the rejection of
       valid reset packets where sent data packets have not been
       acknowledged.

       Customers who are extremely sensitive to this security threat
       should implement IPSec, available in HP Tru64 UNIX 5.1A and
       5.1B. Tru64 UNIX V4.0F and V4.0G can receive maximum available
       protection with tcp_rst_win to "0".

      The TCP reset window variable (tcp_rst_win) may be adjusted
      using the "sysconfig" and "sysconfigdb" commands:

      # sysconfig -q inet tcp_rst_win
      inet:
      tcp_rst_win = -1

      # sysconfig -r inet tcp_rst_win=2048
      tcp_rst_win: reconfigured

      # sysconfig -q inet tcp_rst_win
      inet:
      tcp_rst_win = 2048

      # sysconfig -q inet tcp_rst_win > /tmp/tcp_rst_win_merge

      # sysconfigdb -m -f /tmp/tcp_rst_win_merge inet

      # sysconfigdb -l inet

      inet:
            tcp_rst_win = 2048

        The fixes contained in the ERP kits are scheduled to be
        available in the following mainstream patch kits:

        HP Tru64 UNIX V5.1B PK 5
        HP Tru64 UNIX V5.1A PK 7

    RESOLUTION:
        Until the corrections are available in mainstream release
        patch kits, HP is releasing the following Early Release Patch
       (ERP) kits publicly for use by any customer.

        The ERP kits use dupatch to install and will not install over
        any installed Customer Specific Patches (CSPs) that have file
        intersections with the ERPs. Contact your service provider
        for assistance if the installation of the ERPs is blocked by
        any of your installed CSPs.

    HP Tru64 UNIX 5.1B-2/PK4
    ERP Kit Name: T64KIT0024531-V51BB25-ES-20041219
    General ITRC Patch Page:
    http://www.itrc.hp.com/service/patch/mainPage.do
    Kit Location:
    http://www.itrc.hp.com/service/patch/patchDetail.do?
    patchid=T64KIT0024531-V51BB25-ES-20041219

    HP Tru64 UNIX 5.1B-1/PK3
    ERP Kit Name: T64KIT0024529-V51BB24-ES-20041219
    General ITRC Patch Page:
    http://www.itrc.hp.com/service/patch/mainPage.do
    Kit Location:
    http://www.itrc.hp.com/service/patch/patchDetail.do?
    patchid=T64KIT0024529-V51BB24-ES-20041219

    HP Tru64 UNIX 5.1A
    PREREQUISITE: HP Tru64 UNIX with 5.1A with PK6 installed
    ERP Kit Name: T64KIT0024527-V51AB24-ES-20041219
    General ITRC Patch Page:
    http://www.itrc.hp.com/service/patch/mainPage.do
    Kit Location:
    http://www.itrc.hp.com/service/patch/patchDetail.do?
    patchid=T64KIT0024527-V51AB24-ES-20041219

    HP Tru64 UNIX 4.0G
    PREREQUISITE: HP Tru64 UNIX with 4.0G with PK4 installed
    ERP Kit Name: T64KIT0024524-V40GB22-ES-20041219
    General ITRC Patch Page:
    ttp://www.itrc.hp.com/service/patch/mainPage.do
    Kit Location:
    http://www.itrc.hp.com/service/patch/patchDetail.do?
    patchid=T64KIT0024524-V40GB22-ES-20041219

    HP Tru64 UNIX 4.0F
    PREREQUISITE: HP Tru64 UNIX with 4.0F with PK8 (BL22) installed
    ERP Kit Name: DUXKIT0024523-V40FB22-ES-20041219
    General ITRC Patch Page:
    http://www.itrc.hp.com/service/patch/mainPage.do
    Kit Location:
    http://www.itrc.hp.com/service/patch/patchDetail.do?
    patchid=DUXKIT0024523-V40FB22-ES-20041219

    BULLETIN REVISION HISTORY:
        Revision 0 - 22 December 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).

    REPORT: To report a potential security vulnerability with any HP
    supported product, send Email to: security-alert@hp.com. 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 security-alert@hp.com 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.1

    iQA/AwUBQcrI6uAfOvwtKn1ZEQLMpACgwxBG8wwN9yzrTbDY72Lgaf7PAlkAoJnw
    h648QvK9djFuCf5Em2Ze+3cN
    =DC4o
    -----END PGP SIGNATURE-----


  • Next message: Martin Mewes: "Re: Webmin BruteForce + Command execution - By Di42lo <DiAblo_2@012.net.il>"