(Debian Patch Available) Re: The Network Time Protocol Daemon (ntpd) Allows Remote Users to Execute Arbitrary Code on the Server - Typically to Gain Root Privileges on the Server
|
|
SecurityTracker Alert ID: 1001244 |
|
SecurityTracker URL: http://securitytracker.com/id/1001244
|
|
CVE Reference:
GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: Apr 5 2001
|
Impact:
Execution of arbitrary code via network, Root access via network
|
Fix Available: Yes
|
|
Description:
The Network Time Protocol Daemon (ntpd) shipped with many UNIX/Linux systems is reportedly vulnerable to a remote buffer overflow attack that allows remote users to execute arbitrary code on the server (potentially resulting in super-user access).
The buffer overflow occurs when the daemon is building a response to a remote user's query that contains an overly large readvar argument. Because ntpd typically runs with root-level privileges, this can allow remote attackers to gain root access to the timeserver.
When exploited, the destination buffer is reportedly damaged by the attack, so any arbitrary shell code must be limited to less than approximately 70 bytes.
Code for a demonstration exploit is contained in the source message.
|
Impact:
A remote user can cause arbitrary code supplied by the remote user to be executed on the target ntpd timeserver. Because ntpd typically runs with root-level privileges, this can result in remote root access being granted to the attacker. Because NTP is based on UDP, spoofing is possible, making protection against attacks more difficult.
|
Solution:
A patch is available for Debian Linux. See the vendor for more information.
|
Vendor URL: www.debian.org/security/ (Links to External Site)
|
Cause:
Boundary error
|
Underlying OS:
Linux (Any), UNIX (Any)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Thu, 5 Apr 2001 16:48:10 +0200
Subject: [SECURITY] [DSA 045-1] ntp remote root exploit fixed
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- ----------------------------------------------------------------------------
Debian Security Advisory DSA-045-1 security@debian.org
http://www.debian.org/security/ Michael Stone
April 5, 2001
- ----------------------------------------------------------------------------
Package: ntp
Vulnerability: remote root exploit
Debian-specific: no
Przemyslaw Frasunek <venglin@FREEBSD.LUBLIN.PL> reported that ntp
daemons such as that released with Debian GNU/Linux are vulnerable to a
buffer overflow that can lead to a remote root exploit. This has been
corrected for Debian 2.2 (potato) in ntp version 4.0.99g-2potato1.
We recommend you upgrade your ntp package immediately.
wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.
You may use an automated update by adding the resources from the
footer to the proper configuration.
Debian GNU/Linux 2.2 alias potato
- ------------------------------------
Potato was released for the alpha, arm, i386, m68k, powerpc and sparc
architectures.
Source archives:
http://security.debian.org/debian-security/dists/stable/updates/main/source/ntp_4.0.99g-2potato1.diff.gz
MD5 checksum: f278c5e4a9026241939509a88cab3ea3
http://security.debian.org/debian-security/dists/stable/updates/main/source/ntp_4.0.99g-2potato1.dsc
MD5 checksum: 3a9204ca9f9875e4b1a479a48152bf6e
http://security.debian.org/debian-security/dists/stable/updates/main/source/ntp_4.0.99g.orig.tar.gz
MD5 checksum: 6f3132fb4f6a3ee411554d09270f562a
Architecture-independent files:
http://security.debian.org/debian-security/dists/stable/updates/main/binary-all/ntp-doc_4.0.99g-2potato1_all.deb
MD5 checksum: 01c31ea28c198cc81535aa448e89c7d1
http://security.debian.org/debian-security/dists/stable/updates/main/binary-all/xntp3_4.0.99g-2potato1_all.deb
MD5 checksum: 69290af3b3f49c3e7b9c3f0838cbd553
Alpha architecture:
http://security.debian.org/debian-security/dists/stable/updates/main/binary-alpha/ntp_4.0.99g-2potato1_alpha.deb
MD5 checksum: 1a5ad39a4bb5a5ccd597fe845bc54b77
http://security.debian.org/debian-security/dists/stable/updates/main/binary-alpha/ntpdate_4.0.99g-2potato1_alpha.deb
MD5 checksum: 3d203ddef513c34d252e690dcd25bfeb
ARM architecture:
http://security.debian.org/debian-security/dists/stable/updates/main/binary-arm/ntp_4.0.99g-2potato1_arm.deb
MD5 checksum: 6d1b3fb29c146cbcc99067ee078fac50
http://security.debian.org/debian-security/dists/stable/updates/main/binary-arm/ntpdate_4.0.99g-2potato1_arm.deb
MD5 checksum: ffdc0d76e2fffff4db7405d4537a7c8d
Intel ia32 architecture:
http://security.debian.org/debian-security/dists/stable/updates/main/binary-i386/ntp_4.0.99g-2potato1_i386.deb
MD5 checksum: 827e2818b110c776aee4b5bd10c09b86
http://security.debian.org/debian-security/dists/stable/updates/main/binary-i386/ntpdate_4.0.99g-2potato1_i386.deb
MD5 checksum: bde1143db853fe4a8a9f59ff1eff9af4
Motorola 680x0 architecture:
http://security.debian.org/debian-security/dists/stable/updates/main/binary-m68k/ntp_4.0.99g-2potato1_m68k.deb
MD5 checksum: 001533f2c4742752d45d6dd081b24f73
http://security.debian.org/debian-security/dists/stable/updates/main/binary-m68k/ntpdate_4.0.99g-2potato1_m68k.deb
MD5 checksum: 46339f3ff8988c5e1d0dd6f9bf7e4998
PowerPC architecture:
http://security.debian.org/debian-security/dists/stable/updates/main/binary-powerpc/ntp_4.0.99g-2potato1_powerpc.deb
MD5 checksum: d61af62cc898ce021923bb77c465dde6
http://security.debian.org/debian-security/dists/stable/updates/main/binary-powerpc/ntpdate_4.0.99g-2potato1_powerpc.deb
MD5 checksum: 2e0e0692631e5a863c7ff0b8ccb4cdd0
Sun Sparc architecture:
http://security.debian.org/debian-security/dists/stable/updates/main/binary-sparc/ntp_4.0.99g-2potato1_sparc.deb
MD5 checksum: aa724f09d203b64560949c4f26f92c22
http://security.debian.org/debian-security/dists/stable/updates/main/binary-sparc/ntpdate_4.0.99g-2potato1_sparc.deb
MD5 checksum: 9736c23f90abb86a6d7ad39f18e7bcc7
These files will be moved into
ftp://ftp.debian.org/debian/dists/stable/*/binary-$arch/ soon.
For not yet released architectures please refer to the appropriate
directory ftp://ftp.debian.org/debian/dists/sid/binary-$arch/ .
- ----------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6zIV0W5ql+IAeqTIRAnXRAJ9jtu/u3iEfNRnSnioblIYy+V0MuACeM/Km
awYmbY4tcLAX/8QqLnrbGvs=
=6Qkx
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-security-announce-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|