Security Advisory kernel 2.2 and 2.4: syncookie vulnerability

Advisory: RHSA-2001:142-15
Type: Security Advisory
Severity: N/A
Issued on: 2001-10-26
Last updated on: 2001-11-02
Affected Products: Red Hat Linux 6.2
Red Hat Linux 7.0
Red Hat Linux 7.1
Red Hat Linux 7.2
OVAL: N/A
CVEs (cve.mitre.org): CVE-2001-0851
CVE-2001-0852

Details

Syncookies are used to protect a system against certain Denial Of Service
(DOS) attacks. A flaw in this mechanism has been found which can be used to
circumvent certain types of firewall configurations.

Note: syncookies are not enabled in the default installation of Red Hat
Linux but many server administrators do enable syncookies.

Syncookies, while not enabled in default installations of Red Hat Linux,
are used to protect an Internet server against a certain type of DoS
attack--the so called "synflood"--by using a cryptographic challenge
protocol which ensures legitimate users can keep using the server. Under an
attack, the TCP/IP layer will, instead of just accepting new connections,
send back the challenge and only accept the connections in the
second phase ("syn ack") of the TCP/IP handshake (where the other party
returns the challenge value). The DoS attack, which consists of sending as
many first phase ("syn") packets as possible will be neutralized because
system resources are only used as part of the second phase.

Certain firewall configurations only filter the first phase ("syn") packets
to prevent connections to specific services. These systems are vulnerable
when an attacker can both force a system into flood protection state (by
starting a synflood attack on a non-firewalled port) and guess the
cryptographic challenge of a firewalled port.

While the cryptographic hash used is strong, the number of bits available
is restricted by the TCP protocol header design. With a high speed link and
a lot of time, an attacker can eventually succeed in faking a valid cookie
and making a connection that a syn only firewall rule might have
prohibited.

The updated kernels have a modified synflood protection algorithm that now
uses a per port "under attack" state so that ports with only a first-phase
firewall rule will not use the "under attack" regime even when other,
non-firewalled, ports are under attack.


In addition, these packages fix a remote denial of service attack against
the TUX web server. This attack can only succeed if the TUX web server
has been explicitly enabled; it is disabled by default. Thanks to
Aidan O'Rawe for finding this bug.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

The procedure for upgrading the kernel is documented at:

http://www.redhat.com/support/docs/howto/kernel-upgrade/

Please read the directions for your architecture carefully before
proceeding with the kernel upgrade.

Please note that this update is also available via Red Hat Network. Many
people find this to be an easier way to apply updates. To use Red Hat
Network, launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system. Note that you need to select the kernel
explicitly on default configurations of up2date.

Updated packages

Red Hat Linux 6.2

SRPMS:
kernel-2.2.19-6.2.12.src.rpm
File outdated by:  RHSA-2002:026
    336b94fecfb1d8743fb8902aabd8f405
 
Alpha:
kernel-2.2.19-6.2.12.alpha.rpm
File outdated by:  RHSA-2002:210
    c0e980e0c7f37c25f75075d82c3674b2
kernel-BOOT-2.2.19-6.2.12.alpha.rpm
File outdated by:  RHSA-2002:210
    b260e315fcb69fa6b79e324d354e71ed
kernel-doc-2.2.19-6.2.12.alpha.rpm
File outdated by:  RHSA-2002:210
    e35b617712c1ce4c40814d967c93d7c1
kernel-enterprise-2.2.19-6.2.12.alpha.rpm
File outdated by:  RHSA-2002:210
    4be86c30547a8970176c0aa8dfb05f0e
kernel-headers-2.2.19-6.2.12.alpha.rpm
File outdated by:  RHSA-2002:210
    5a8f6c029fb342b71b72d0bd23411db0
kernel-jensen-2.2.19-6.2.12.alpha.rpm
File outdated by:  RHSA-2002:210
    caf0190338a4afdf6d561e52cbd31226
kernel-smp-2.2.19-6.2.12.alpha.rpm
File outdated by:  RHSA-2002:210
    be7d0438c8adccd0e3f22ce5c2d7d9b9
kernel-source-2.2.19-6.2.12.alpha.rpm
File outdated by:  RHSA-2002:210
    40cf8a3f621ed079cdea63dbb53dc0fe
kernel-utils-2.2.19-6.2.12.alpha.rpm
File outdated by:  RHSA-2002:210
    b5852172767c173aae77596a5566345a
 
IA-32:
kernel-2.2.19-6.2.12.i386.rpm
File outdated by:  RHSA-2003:088
    383a93775aa5403b878e3e94f759a0c9
kernel-2.2.19-6.2.12.i586.rpm
File outdated by:  RHSA-2003:088
    3f211cda6505a310b242ada7027dc9b4
kernel-2.2.19-6.2.12.i686.rpm
File outdated by:  RHSA-2003:088
    27fae43d1b9e04c1151a3a164d889bcc
kernel-BOOT-2.2.19-6.2.12.i386.rpm
File outdated by:  RHSA-2003:088
    012c67e0d39b114cd27d333af6c979cd
kernel-doc-2.2.19-6.2.12.i386.rpm
File outdated by:  RHSA-2003:088
    f02db047a97df18b419656d740be9d87
kernel-enterprise-2.2.19-6.2.12.i686.rpm
File outdated by:  RHSA-2003:088
    e03ec095d621c895d71c9d1af2307d16
kernel-headers-2.2.19-6.2.12.i386.rpm
File outdated by:  RHSA-2003:088
    2d662967b7aa5d33abef8708e22cfcbc
kernel-ibcs-2.2.19-6.2.12.i386.rpm
File outdated by:  RHSA-2003:088
    6a94d332832e44ef9e3ab8bc6e1e91a8
kernel-pcmcia-cs-2.2.19-6.2.12.i386.rpm
File outdated by:  RHSA-2003:088
    58b9fe2f012ff261b5c6fca00f6a6c05
kernel-smp-2.2.19-6.2.12.i386.rpm
File outdated by:  RHSA-2003:088
    d79b9ac16f0d7b9b522a0196fc025a2e
kernel-smp-2.2.19-6.2.12.i586.rpm
File outdated by:  RHSA-2003:088
    3e407af75a556f2ce612e833938d8cd5
kernel-smp-2.2.19-6.2.12.i686.rpm
File outdated by:  RHSA-2003:088
    43491809de3902d31dfcced1fd44ee6e
kernel-source-2.2.19-6.2.12.i386.rpm
File outdated by:  RHSA-2003:088
    12ae3d6af2df1139417daa75e1c63fa4
kernel-utils-2.2.19-6.2.12.i386.rpm
File outdated by:  RHSA-2003:088
    1c68d1fd6fe55b1941b08c1853da9eef
 
Sparc:
kernel-2.2.19-6.2.12.sparc.rpm
File outdated by:  RHSA-2002:026
    74f893ae177202357b6939e6a6397040
kernel-2.2.19-6.2.12.sparc64.rpm
File outdated by:  RHSA-2002:026
    59ae3629df5fff111a391f4059d2a2e0
kernel-BOOT-2.2.19-6.2.12.sparc.rpm
File outdated by:  RHSA-2002:026
    2f1f0934d8e50accc56e373116f530c1
kernel-BOOT-2.2.19-6.2.12.sparc64.rpm
File outdated by:  RHSA-2002:026
    649ed74d4fb44dc07092fb8fa355eb00
kernel-doc-2.2.19-6.2.12.sparc.rpm
File outdated by:  RHSA-2002:026
    99521c034bc1da83db872a8dacf01a17
kernel-enterprise-2.2.19-6.2.12.sparc.rpm
File outdated by:  RHSA-2002:026
    cc8eddb94e0b738eb5cb88c457c98c5a
kernel-enterprise-2.2.19-6.2.12.sparc64.rpm
File outdated by:  RHSA-2002:026
    8605f9f4e9426057e1fb9527892c4efe
kernel-headers-2.2.19-6.2.12.sparc.rpm
File outdated by:  RHSA-2002:026
    e71f79f363d05a0c5984d056f94e625c
kernel-smp-2.2.19-6.2.12.sparc.rpm
File outdated by:  RHSA-2002:026
    76f045b1db4c1c4a55f3ac3469b1aa5d
kernel-smp-2.2.19-6.2.12.sparc64.rpm
File outdated by:  RHSA-2002:026
    42a0a7f05d2ffcaffc613bf0aaf20cdc
kernel-source-2.2.19-6.2.12.sparc.rpm
File outdated by:  RHSA-2002:026
    1c0fd18816732994aa27ed66b3849a07
kernel-utils-2.2.19-6.2.12.sparc.rpm
File outdated by:  RHSA-2002:026
    bc948575895e457bfab2b76232e0ab02
 
Red Hat Linux 7.0

SRPMS:
kernel-2.2.19-7.0.12.src.rpm
File outdated by:  RHSA-2003:088
    b3257f305e0e1a4a6241f5a56cb90ea6
 
Alpha:
kernel-2.2.19-7.0.12.alpha.rpm
File outdated by:  RHSA-2002:210
    60af98ffd100f6f2343e5c3f6202260a
kernel-BOOT-2.2.19-7.0.12.alpha.rpm
File outdated by:  RHSA-2002:210
    ef9dbafbbb181645a766179f8d7b021a
kernel-doc-2.2.19-7.0.12.alpha.rpm
File outdated by:  RHSA-2002:210
    bd7b487a990644fe8e240149faadbd78
kernel-enterprise-2.2.19-7.0.12.alpha.rpm
File outdated by:  RHSA-2002:210
    cfbe56baab4def543cff73a9d6018c5f
kernel-jensen-2.2.19-7.0.12.alpha.rpm
File outdated by:  RHSA-2002:210
    741880c2a27aff4359e155e3620a4702
kernel-smp-2.2.19-7.0.12.alpha.rpm
File outdated by:  RHSA-2002:210
    512f8f58420952c905ce26167cb631cc
kernel-source-2.2.19-7.0.12.alpha.rpm
File outdated by:  RHSA-2002:210
    3dc97d8591136be3383da02adb5052fc
kernel-utils-2.2.19-7.0.12.alpha.rpm
File outdated by:  RHSA-2002:210
    6ff20a89aec3b5726254664faa92026a
 
IA-32:
kernel-2.2.19-7.0.12.i386.rpm
File outdated by:  RHSA-2003:088
    5ef8fbb28e1eb8bee232020c7e0e11ba
kernel-2.2.19-7.0.12.i586.rpm
File outdated by:  RHSA-2003:088
    4f7be1253b62b8cc010537528f68120e
kernel-2.2.19-7.0.12.i686.rpm
File outdated by:  RHSA-2003:088
    9efeccc6f69f8816fab5bbcd041224a1
kernel-BOOT-2.2.19-7.0.12.i386.rpm
File outdated by:  RHSA-2003:088
    a57b7ac9873e3a072688333daa25910a
kernel-doc-2.2.19-7.0.12.i386.rpm
File outdated by:  RHSA-2003:088
    1c61150fdbfe5926ce10b6e3708321d8
kernel-enterprise-2.2.19-7.0.12.i686.rpm
File outdated by:  RHSA-2003:088
    f3cbc795777dd18a186e9fb9bbf15808
kernel-ibcs-2.2.19-7.0.12.i386.rpm
File outdated by:  RHSA-2003:088
    ef5ecb3401a6ec8adb3f0d9f192a96de
kernel-pcmcia-cs-2.2.19-7.0.12.i386.rpm
File outdated by:  RHSA-2003:088
    2443b3e1812195b7f3d15dd4e1c42693
kernel-smp-2.2.19-7.0.12.i386.rpm
File outdated by:  RHSA-2003:088
    7e7d5d5132e025810c5e3056b5611142
kernel-smp-2.2.19-7.0.12.i586.rpm
File outdated by:  RHSA-2003:088
    6ce10ee753a30a1d86542670cac6f6a5
kernel-smp-2.2.19-7.0.12.i686.rpm
File outdated by:  RHSA-2003:088
    05d175e6ff7f8687d3ef1091c8b67e7f
kernel-source-2.2.19-7.0.12.i386.rpm
File outdated by:  RHSA-2003:088
    777fc255bfe49b27c471077774ffc09a
kernel-utils-2.2.19-7.0.12.i386.rpm
File outdated by:  RHSA-2003:088
    0b7e54c77d268a85ee248403f009bab2
 
Red Hat Linux 7.1

SRPMS:
kernel-2.4.9-12.src.rpm
File outdated by:  RHSA-2002:205
    bda764eb797d34d0c5ad251a4d95bf58
 
Alpha:
kernel-2.4.9-12.alpha.rpm
File outdated by:  RHSA-2002:205
    747b17fb92f8bcf5749842533652a80e
kernel-BOOT-2.4.9-12.alpha.rpm
File outdated by:  RHSA-2002:205
    2f18e5f8e504bfcbbaac7a900465f1f7
kernel-doc-2.4.9-12.alpha.rpm
File outdated by:  RHSA-2002:205
    dc284b572198a939711ab5472479ff1d
kernel-headers-2.4.9-12.alpha.rpm
File outdated by:  RHSA-2002:028
    8f82b85b9eabd04ca705b87ea748d022
kernel-smp-2.4.9-12.alpha.rpm
File outdated by:  RHSA-2002:205
    1328a1c08c2ffa968407b9cbcd92ee6a
kernel-source-2.4.9-12.alpha.rpm
File outdated by:  RHSA-2002:205
    b34bed11c436d563af83fa890eda9ec8
 
IA-32:
kernel-2.4.9-12.i386.rpm
File outdated by:  RHSA-2003:417
    3aacd852f52a8b4dfd8cd91b17303375
kernel-2.4.9-12.i586.rpm
File outdated by:  RHSA-2003:417
    a2b9faa10219c22ace1fccf1d7fcb955
kernel-2.4.9-12.i686.rpm
File outdated by:  RHSA-2003:417
    942efbd3eb389167579a435b1e6e5ec9
kernel-BOOT-2.4.9-12.i386.rpm
File outdated by:  RHSA-2003:417
    c047388577512f0e04340dd7256bc720
kernel-doc-2.4.9-12.i386.rpm
File outdated by:  RHSA-2003:417
    9f05e1cd67aaff2bbb58179bf7e4c7fd
kernel-enterprise-2.4.9-12.i686.rpm
File outdated by:  RHBA-2002:104
    dddbf9b73335a8bd2193243ccaa42d53
kernel-headers-2.4.9-12.i386.rpm
File outdated by:  RHBA-2002:104
    cc47a2568943ba7d3a8619297b46a420
kernel-smp-2.4.9-12.i586.rpm
File outdated by:  RHSA-2003:417
    fa5cfcc16f4ea4ba9abab0361e45a6bb
kernel-smp-2.4.9-12.i686.rpm
File outdated by:  RHSA-2003:417
    63543d58ec2cb3beb3fa75ab7f01efb5
kernel-source-2.4.9-12.i386.rpm
File outdated by:  RHSA-2003:417
    0fd276dbe3688fecf7b1d1ae685375f8
 
IA-64:
kernel-2.4.9-12.ia64.rpm
File outdated by:  RHSA-2002:205
    f0ce8588ae1983d291ea41e8bce682f5
kernel-doc-2.4.9-12.ia64.rpm
File outdated by:  RHSA-2002:205
    b1f2f5eb150558579ecaa68d241d40d5
kernel-headers-2.4.9-12.ia64.rpm
File outdated by:  RHBA-2002:104
    01ddc6910d0a7ed5350c7e0e971e05fa
kernel-smp-2.4.9-12.ia64.rpm
File outdated by:  RHSA-2002:205
    17e769def69090ff7b6d17a596049eb5
kernel-source-2.4.9-12.ia64.rpm
File outdated by:  RHSA-2002:205
    e80751d12cb444f84b49c22de3edf6d7
 
Red Hat Linux 7.2

SRPMS:
kernel-2.4.9-13.src.rpm
File outdated by:  RHSA-2003:417
    910e9b11dac35236f94c413b63728b8b
 
IA-32:
kernel-2.4.9-13.athlon.rpm
File outdated by:  RHSA-2003:417
    eee399a250faeaa6a6127ae685c8dceb
kernel-2.4.9-13.i386.rpm
File outdated by:  RHSA-2003:417
    47b590b479c4e3b63171fc3ba4c4457f
kernel-2.4.9-13.i586.rpm
File outdated by:  RHSA-2003:417
    de2da25e720aced27a1e7508d0f24b4b
kernel-2.4.9-13.i686.rpm
File outdated by:  RHSA-2003:417
    44fcbb6aa0d54b74ad30c219692f0e63
kernel-BOOT-2.4.9-13.i386.rpm
File outdated by:  RHSA-2003:417
    f2827ea8c551c81a7e1fb02a2786fc2f
kernel-debug-2.4.9-13.i686.rpm
File outdated by:  RHSA-2003:098
    c86f496432efc1bef1939b992ca6d3f4
kernel-doc-2.4.9-13.i386.rpm
File outdated by:  RHSA-2003:417
    9af0476874b6ec7e3e521a70fe7a5a6d
kernel-enterprise-2.4.9-13.i686.rpm
File outdated by:  RHBA-2002:104
    d898d5125d1067b822b647119613c3c3
kernel-headers-2.4.9-13.i386.rpm
File outdated by:  RHBA-2002:104
    b937212e08ac5d8fddcf6c9ea350f658
kernel-smp-2.4.9-13.athlon.rpm
File outdated by:  RHSA-2003:417
    c44229a144bf37caf062bd55a4444f3d
kernel-smp-2.4.9-13.i586.rpm
File outdated by:  RHSA-2003:417
    de92c000f9a94d566abc05c1bfd5c81a
kernel-smp-2.4.9-13.i686.rpm
File outdated by:  RHSA-2003:417
    6f8cfc7fc6383ec7c7d7586c8f6b02f7
kernel-source-2.4.9-13.i386.rpm
File outdated by:  RHSA-2003:417
    866b59aab640cfa58b2aa9c9be90f624
 

Bugs fixed (see bugzilla for more information)

54829 - new linux-2.4.9-6 kernel fails to xconfig
54851 - Incorrect change to parameters for kallsyms_address_to_symbol()
54868 - NFS sever file lock is broken in 2.4.9-6
55067 - Installer kernel won't boot on P60: machine check exception
55082 - acenic driver on Kernel 2.4.9-6enterprise not loading on Netfinity 5500
55097 - bad: xconfig fails, good: config & menuconfig works


References


Keywords

kernel, security, syncookie


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/