NTP 'ntpq' Stack Buffer Overflow Vulnerability
BID:34481
Info
NTP 'ntpq' Stack Buffer Overflow Vulnerability
| Bugtraq ID: | 34481 |
| Class: | Boundary Condition Error |
| CVE: |
CVE-2009-0159 |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 12 2009 12:00AM |
| Updated: | Apr 16 2015 06:13PM |
| Credit: | Apple |
| Vulnerable: |
VMWare vMA 4.0 VMWare ESXi Server 4.0 ESXi400-20090940 VMWare ESXi Server 4.0 VMWare ESXi Server 3.5 ESXe350-20091040 VMWare ESXi Server 3.5 ESXe350-20090440 VMWare ESXi Server 3.5 VMWare ESX Server 3.0.3 VMWare ESX Server 4.0 VMWare ESX Server 3.5 Ubuntu Ubuntu Linux 9.04 sparc Ubuntu Ubuntu Linux 9.04 powerpc Ubuntu Ubuntu Linux 9.04 lpia Ubuntu Ubuntu Linux 9.04 i386 Ubuntu Ubuntu Linux 9.04 amd64 Ubuntu Ubuntu Linux 8.10 sparc Ubuntu Ubuntu Linux 8.10 powerpc Ubuntu Ubuntu Linux 8.10 lpia Ubuntu Ubuntu Linux 8.10 i386 Ubuntu Ubuntu Linux 8.10 amd64 Ubuntu Ubuntu Linux 8.04 LTS sparc Ubuntu Ubuntu Linux 8.04 LTS powerpc Ubuntu Ubuntu Linux 8.04 LTS lpia Ubuntu Ubuntu Linux 8.04 LTS i386 Ubuntu Ubuntu Linux 8.04 LTS amd64 Ubuntu Ubuntu Linux 6.06 LTS sparc Ubuntu Ubuntu Linux 6.06 LTS powerpc Ubuntu Ubuntu Linux 6.06 LTS i386 Ubuntu Ubuntu Linux 6.06 LTS amd64 Turbolinux Turbolinux Server 10.0 Turbolinux Turbolinux Server 11 x64 Turbolinux Turbolinux Server 11 Turbolinux Turbolinux Server 10.0.0 x64 Turbolinux FUJI 0 Turbolinux Client 2008 Turbolinux Appliance Server 3.0 x64 Turbolinux Appliance Server 3.0 Turbolinux Appliance Server 2.0 SuSE SUSE Linux Enterprise Server 9 SuSE SUSE Linux Enterprise 11 SuSE SUSE Linux Enterprise 10 SuSE openSUSE 10.3 Sun SPARC T3-4 0 Sun SPARC T3-2 0 Sun SPARC T3-1B 0 Sun SPARC T3-1 0 Sun Netra SPARC T3-1B 0 Sun Netra SPARC T3-1 0 Slackware Linux 10.2 Slackware Linux 10.1 Slackware Linux 10.0 Slackware Linux 9.1 Slackware Linux 9.0 Slackware Linux 8.1 Slackware Linux 12.2 Slackware Linux 12.1 Slackware Linux 12.0 Slackware Linux 11.0 Slackware Linux -current S.u.S.E. openSUSE 11.1 S.u.S.E. openSUSE 11.0 S.u.S.E. Open-Enterprise-Server 0 S.u.S.E. Novell Linux Desktop 9.0 RedHat Enterprise Linux WS 4 RedHat Enterprise Linux WS 3 RedHat Enterprise Linux ES 4 RedHat Enterprise Linux ES 3 RedHat Desktop 4.0 RedHat Desktop 3.0 Red Hat Enterprise Linux AS 4 Red Hat Enterprise Linux AS 3 Pardus Linux 2008 0 NTP NTP 4.2.4 p6 NTP NTP 4.2.4 p5 NetBSD NetBSD 4.0.1 NetBSD NetBSD 5.0 NetBSD NetBSD 4.0 Mandriva Linux Mandrake 2009.0 x86_64 Mandriva Linux Mandrake 2009.0 Mandriva Linux Mandrake 2008.1 x86_64 Mandriva Linux Mandrake 2008.1 Mandriva Linux Mandrake 2008.0 x86_64 Mandriva Linux Mandrake 2008.0 MandrakeSoft Multi Network Firewall 2.0 MandrakeSoft Corporate Server 4.0 x86_64 MandrakeSoft Corporate Server 3.0 x86_64 MandrakeSoft Corporate Server 3.0 MandrakeSoft Corporate Server 4.0 HP TCP/IP Services for OpenVMS I64 5.6 HP TCP/IP Services for OpenVMS I64 5.5 HP TCP/IP Services for OpenVMS I64 5.4 HP TCP/IP Services for OpenVMS Alpha 5.6 HP TCP/IP Services for OpenVMS Alpha 5.5 HP TCP/IP Services for OpenVMS Alpha 5.4 HP HP-UX B.11.31 HP HP-UX B.11.31 HP HP-UX B.11.11 Gentoo Linux Debian Linux 5.0 sparc Debian Linux 5.0 s/390 Debian Linux 5.0 powerpc Debian Linux 5.0 mipsel Debian Linux 5.0 mips Debian Linux 5.0 m68k Debian Linux 5.0 ia-64 Debian Linux 5.0 ia-32 Debian Linux 5.0 hppa Debian Linux 5.0 armel Debian Linux 5.0 arm Debian Linux 5.0 amd64 Debian Linux 5.0 alpha Debian Linux 5.0 Debian Linux 4.0 sparc Debian Linux 4.0 s/390 Debian Linux 4.0 powerpc Debian Linux 4.0 mipsel Debian Linux 4.0 mips Debian Linux 4.0 m68k Debian Linux 4.0 ia-64 Debian Linux 4.0 ia-32 Debian Linux 4.0 hppa Debian Linux 4.0 armel Debian Linux 4.0 arm Debian Linux 4.0 amd64 Debian Linux 4.0 alpha Debian Linux 4.0 Avaya Voice Portal 5.0 Avaya Proactive Contact 4.1 Avaya Proactive Contact 4.0 Avaya Message Networking 3.1 Avaya Intuity AUDIX LX 2.0 SP2 Avaya Intuity AUDIX LX 2.0 SP1 Avaya Intuity AUDIX LX 2.0 Avaya Communication Manager 4.0.3 SP1 Avaya Communication Manager 3.1.4 SP2 Avaya Communication Manager 5.0 SP3 Avaya Communication Manager 5.0 Avaya Communication Manager 4.0 Avaya Communication Manager 3.1 Avaya Aura SIP Enablement Services 3.1.1 Avaya Aura SIP Enablement Services 3.1 Avaya Aura SIP Enablement Services 3.0 Avaya Aura Session Manager 1.1 Avaya Aura Application Enablement Services 3.1.6 Avaya Aura Application Enablement Services 3.1.4 Avaya Aura Application Enablement Services 3.1.3 Avaya Aura Application Enablement Services 4.0 Apple Mac OS X Server 10.5.6 Apple Mac OS X Server 10.5.5 Apple Mac OS X Server 10.5.4 Apple Mac OS X Server 10.5.3 Apple Mac OS X Server 10.5.2 Apple Mac OS X Server 10.5.1 Apple Mac OS X Server 10.4.11 Apple Mac OS X Server 10.4.10 Apple Mac OS X Server 10.4.9 Apple Mac OS X Server 10.4.8 Apple Mac OS X Server 10.4.7 Apple Mac OS X Server 10.4.6 Apple Mac OS X Server 10.4.5 Apple Mac OS X Server 10.4.4 Apple Mac OS X Server 10.4.3 Apple Mac OS X Server 10.4.2 Apple Mac OS X Server 10.4.1 Apple Mac OS X Server 10.4 Apple Mac OS X Server 10.5 Apple Mac OS X 10.5.6 Apple Mac OS X 10.5.5 Apple Mac OS X 10.5.4 Apple Mac OS X 10.5.3 Apple Mac OS X 10.5.2 Apple Mac OS X 10.5.1 Apple Mac OS X 10.4.11 Apple Mac OS X 10.4.10 Apple Mac OS X 10.4.9 Apple Mac OS X 10.4.8 Apple Mac OS X 10.4.7 Apple Mac OS X 10.4.6 Apple Mac OS X 10.4.5 Apple Mac OS X 10.4.4 Apple Mac OS X 10.4.3 Apple Mac OS X 10.4.2 Apple Mac OS X 10.4.1 Apple Mac OS X 10.4 Apple Mac OS X 10.5 |
| Not Vulnerable: |
VMWare vMA 4.0 Patch 2 NTP NTP 4.2.4 p7-RC2 Apple Mac OS X Server 10.5.7 Apple Mac OS X 10.5.7 |
Discussion
NTP 'ntpq' Stack Buffer Overflow Vulnerability
The 'ntpq' command is prone to a stack-based buffer-overflow vulnerability.
Successful exploits will crash the affected utility. Code execution may also be possible, but has not been confirmed.
The 'ntpq' command is prone to a stack-based buffer-overflow vulnerability.
Successful exploits will crash the affected utility. Code execution may also be possible, but has not been confirmed.
Exploit / POC
NTP 'ntpq' Stack Buffer Overflow Vulnerability
Currently we are not aware of any working exploits. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Currently we are not aware of any working exploits. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution / Fix
NTP 'ntpq' Stack Buffer Overflow Vulnerability
Solution:
Updates are available. Please see the references for more information.
Mandriva Linux Mandrake 2008.0
Mandriva Linux Mandrake 2009.0 x86_64
VMWare ESX Server 4.0
Mandriva Linux Mandrake 2008.1 x86_64
Mandriva Linux Mandrake 2008.1
Turbolinux Client 2008
HP HP-UX B.11.11
Apple Mac OS X 10.4.11
Apple Mac OS X Server 10.4.11
Apple Mac OS X 10.5.2
Apple Mac OS X 10.5.3
Apple Mac OS X Server 10.5.3
Apple Mac OS X 10.5.4
Apple Mac OS X Server 10.5.5
Apple Mac OS X 10.5.6
MandrakeSoft Corporate Server 3.0
NTP NTP 4.2.4 p6
Solution:
Updates are available. Please see the references for more information.
Mandriva Linux Mandrake 2008.0
-
Mandriva ntp-4.2.4-10.2mdv2008.0.i586.rpm
http://www.mandriva.com/en/download/ -
Mandriva ntp-client-4.2.4-10.2mdv2008.0.i586.rpm
http://www.mandriva.com/en/download/ -
Mandriva ntp-doc-4.2.4-10.2mdv2008.0.i586.rpm
http://www.mandriva.com/en/download/
Mandriva Linux Mandrake 2009.0 x86_64
-
Mandriva ntp-4.2.4-18.2mdv2009.0.x86_64.rpm
http://www.mandriva.com/en/download/ -
Mandriva ntp-client-4.2.4-18.2mdv2009.0.x86_64.rpm
http://www.mandriva.com/en/download/ -
Mandriva ntp-doc-4.2.4-18.2mdv2009.0.x86_64.rpm
http://www.mandriva.com/en/download/
VMWare ESX Server 4.0
-
VMWare ESX-4.0.0-update01.zip
https://hostupdate.vmware.com/software/VUM/OFFLINE/release-158-2009111 8-187517/ESX-4.0.0-update01.zip
Mandriva Linux Mandrake 2008.1 x86_64
-
Mandriva ntp-4.2.4-15.2mdv2008.1.x86_64.rpm
http://www.mandriva.com/en/download/ -
Mandriva ntp-client-4.2.4-15.2mdv2008.1.x86_64.rpm
http://www.mandriva.com/en/download/ -
Mandriva ntp-doc-4.2.4-15.2mdv2008.1.x86_64.rpm
http://www.mandriva.com/en/download/
Mandriva Linux Mandrake 2008.1
-
Mandriva ntp-4.2.4-15.2mdv2008.1.i586.rpm
http://www.mandriva.com/en/download/ -
Mandriva ntp-client-4.2.4-15.2mdv2008.1.i586.rpm
http://www.mandriva.com/en/download/ -
Mandriva ntp-doc-4.2.4-15.2mdv2008.1.i586.rpm
http://www.mandriva.com/en/download/
Turbolinux Client 2008
-
Turbolinux ntp-4.2.4p3-6.i586.rpm
http://ftp.turbolinux.co.jp/pub/TurboLinux/TurboLinux/ia32/Client/12/t urbolinux-updates/ntp-4.2.4p3-6.i586.rpm
HP HP-UX B.11.11
-
HP PHNE_39871
http://itrc.hp.com
Apple Mac OS X 10.4.11
-
Apple SecUpd2009-002PPC.dmg
(PowerPC)
http://support.apple.com/downloads/DL818/SecUpd2009-002PPC.dmg
Apple Mac OS X Server 10.4.11
-
Apple SecUpd2009-002Intel.dmg
(Intel)
http://support.apple.com/downloads/DL817/SecUpd2009-002Intel.dmg -
Apple SecUpdSrvr2009-002PPC.dmg
(PowerPC)
http://support.apple.com/downloads/DL819/SecUpdSrvr2009-002PPC.dmg -
Apple SecUpdSrvr2009-002Univ.dmg
(Universal)
http://support.apple.com/downloads/DL816/SecUpdSrvr2009-002Univ.dmg
Apple Mac OS X 10.5.2
-
Apple MacOSXUpdCombo10.5.7.dmg
http://support.apple.com/downloads/DL827/MacOSXUpdCombo10.5.7.dmg
Apple Mac OS X 10.5.3
-
Apple MacOSXUpdCombo10.5.7.dmg
http://support.apple.com/downloads/DL827/MacOSXUpdCombo10.5.7.dmg
Apple Mac OS X Server 10.5.3
-
Apple MacOSXServerUpdCombo10.5.7.dmg
http://support.apple.com/downloads/DL829/MacOSXServerUpdCombo10.5.7.dm g
Apple Mac OS X 10.5.4
-
Apple MacOSXUpdCombo10.5.7.dmg
http://support.apple.com/downloads/DL827/MacOSXUpdCombo10.5.7.dmg
Apple Mac OS X Server 10.5.5
-
Apple MacOSXServerUpdCombo10.5.7.dmg
http://support.apple.com/downloads/DL829/MacOSXServerUpdCombo10.5.7.dm g
Apple Mac OS X 10.5.6
-
Apple MacOSXUpd10.5.7.dmg
http://support.apple.com/downloads/DL826/MacOSXUpd10.5.7.dmg
MandrakeSoft Corporate Server 3.0
-
Mandriva ntp-4.2.0-2.2.C30mdk.i586.rpm
http://www.mandriva.com/en/download/
NTP NTP 4.2.4 p6
-
NTP ntp-4.2.4p7.tar.gz
http://archive.ntp.org/ntp4/ntp-4.2.4p7.tar.gz
References
NTP 'ntpq' Stack Buffer Overflow Vulnerability
References:
References:
- Version 6.1.5 - Release Note (Innominate)
- Bugzilla 13 Bug 9532: server: ntp-server <4.2.4_p7_rc2 ntpq peer information bu (Pardus)
- Bugzilla Bug 1144 - limited buffer overflow in ntpq. CVE-2009-0159 (NTP)
- Multiple vulnerabilities in Network Time Protocol (NTP) (Oracle)
- NTP Homepage (ntp.org)
- Version 5.1.6 - Release Notes (Innominate)
- VMSA-2009-0016 VMware vCenter and ESX update release and VMA patch release addre (VMware Security Team
) - ASA-2009-203 ntp security update (RHSA-2009-1039) (Avaya)
- Avaya ASA-2009-590 ntp security update (RHSA-2009-1651) (Avaya)
- Critical: ntp security update (Redhat)
- HPSBUX02437 SSRT090038 rev.1 - HP-UX Running XNTP, Remote Execution of Arbitrary (HP)