Date: 10 April 2001
References: ESB-2001.138 ESB-2001.139 ESB-2001.140 ESB-2001.148 ESB-2001.149 ESB-2001.187
Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
===========================================================================
AUSCERT External Security Bulletin Redistribution
ESB-2001.141 -- RHSA-2001:045-05
Network Time Daemon (ntpd) has potential remote root exploit
10 April 2001
===========================================================================
AusCERT Security Bulletin Summary
---------------------------------
Product: ntp
Vendor: Red Hat
Operating System: Red Hat Linux 5.2
Red Hat Linux 6.2
Red Hat Linux 7.0
Platform: Alpha
i386
Sparc
Impact: Root Compromise
Access Required: Remote
Ref: ESB-2001.138
ESB-2001.139
ESB-2001.140
- --------------------------BEGIN INCLUDED TEXT--------------------
- ---------------------------------------------------------------------
Red Hat, Inc. Red Hat Security Advisory
Synopsis: Network Time Daemon (ntpd) has potential remote root exploit
Advisory ID: RHSA-2001:045-05
Issue date: 2001-04-05
Updated on: 2001-04-08
Product: Red Hat Linux
Keywords: ntpd exploit buffer overflow
Cross references:
Obsoletes:
- ---------------------------------------------------------------------
1. Topic:
The Network Time Daemon (ntpd) supplied with all releases of Red Hat
Linux is vulnerable to a buffer overflow, allowing a remote attacker to
potentially gain root level access to a machine. All users of ntpd are
strongly encouraged to upgrade.
2. Relevant releases/architectures:
Red Hat Linux 5.2 - alpha, i386, sparc
Red Hat Linux 6.2 - alpha, i386, sparc
Red Hat Linux 7.0 - alpha, i386
3. Problem description:
The Network Time Daemon (xntpd on Red Hat Linux 6.2 and earlier, ntpd on
Red Hat Linux 7.0) does not properly check the size of a buffer used to
hold incoming data from the network. Potentially, an attacker could gain
root access by exploiting this weakness.
Potential damage is mitigated by the fact that the Network Time Daemon is
not enabled by default. If you are not using network time services, it
may not even be installed. As a general rule, Red Hat encourages users to
enable only those network services they actually need.
4. Solution:
To update all RPMs for your particular architecture, run:
rpm -Fvh [filenames]
where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directly *only* contains the
desired RPMs.
Please note that this update is also available via Red Hat Network. Many
people find this 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.
5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):
34813 - ntpd security hole
6. RPMs required:
Red Hat Linux 5.2:
SRPMS:
ftp://updates.redhat.com/5.2/en/os/SRPMS/xntp3-5.93-14.src.rpm
alpha:
ftp://updates.redhat.com/5.2/en/os/alpha/xntp3-5.93-14.alpha.rpm
i386:
ftp://updates.redhat.com/5.2/en/os/i386/xntp3-5.93-14.i386.rpm
sparc:
ftp://updates.redhat.com/5.2/en/os/sparc/xntp3-5.93-14.sparc.rpm
Red Hat Linux 6.2:
SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/xntp3-5.93-15.src.rpm
alpha:
ftp://updates.redhat.com/6.2/en/os/alpha/xntp3-5.93-15.alpha.rpm
i386:
ftp://updates.redhat.com/6.2/en/os/i386/xntp3-5.93-15.i386.rpm
sparc:
ftp://updates.redhat.com/6.2/en/os/sparc/xntp3-5.93-15.sparc.rpm
Red Hat Linux 7.0:
SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/ntp-4.0.99k-15.src.rpm
alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/ntp-4.0.99k-15.alpha.rpm
i386:
ftp://updates.redhat.com/7.0/en/os/i386/ntp-4.0.99k-15.i386.rpm
7. Verification:
MD5 sum Package Name
- --------------------------------------------------------------------------
0d3566d34cd5bc9990a15a41be99e4c7 5.2/en/os/SRPMS/xntp3-5.93-14.src.rpm
aa851fdb72e9f6464e9688378617c9df 5.2/en/os/alpha/xntp3-5.93-14.alpha.rpm
176041bd0364ca91b6d7db3869c4a0a0 5.2/en/os/i386/xntp3-5.93-14.i386.rpm
9b224d8bd3640a6fbd37785c6c5d3ce2 5.2/en/os/sparc/xntp3-5.93-14.sparc.rpm
a83add134f54dd4fbdcfd0cef5929b43 6.2/en/os/SRPMS/xntp3-5.93-15.src.rpm
64d936dcf1fa8fe97a12b314923ae89c 6.2/en/os/alpha/xntp3-5.93-15.alpha.rpm
af43bc024a00586ef97265c7bf2e63df 6.2/en/os/i386/xntp3-5.93-15.i386.rpm
3f13de81debf2dc875d84c046596e27d 6.2/en/os/sparc/xntp3-5.93-15.sparc.rpm
b7f60c57e74179913ebc2dc1da04f410 7.0/en/os/SRPMS/ntp-4.0.99k-15.src.rpm
6334b7ba31606cfe04d98967adbf3350 7.0/en/os/alpha/ntp-4.0.99k-15.alpha.rpm
f67d135fd6ccadb9f36aeca4a429a9fa 7.0/en/os/i386/ntp-4.0.99k-15.i386.rpm
These packages are GPG signed by Red Hat, Inc. for security. Our key
is available at:
http://www.redhat.com/corp/contact.html
You can verify each package with the following command:
rpm --checksig <filename>
If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
rpm --checksig --nogpg <filename>
8. References:
BugTraq Message-ID <20010404222701.X91913@riget.scene.pl>
http://www.eecis.udel.edu/~ntp/
Copyright(c) 2000, 2001 Red Hat, Inc.
- --------------------------END INCLUDED TEXT--------------------
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 use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.
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 original authors 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:
http://www.auscert.org.au/Information/advisories.html
If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).
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 emergencies.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key
iQCVAwUBOtLdnSh9+71yA2DNAQFvsQP+IxoUR4mjE5CJlXRnyOx+KX2VaHmNZjIG
NXn9UUHBr+ZaWljO+EAunCeShk+RJnLM3ddGcVlU0IVfH8c3lVwuwhzVJqOp9A13
mlpCfUm1UO2CB274UP3qymBbxXdz+TMb3LThmA/Qkj7po9D3TRA+5Rjx+XMElyHw
wP4cu40TmrM=
=7LSV
-----END PGP SIGNATURE-----
|