Skip to content
OpenAdvisories
Unscored Public exploit CVE-2014-9295 EUVD-2014-9120GHSA-67hp-c7g3-34pp

Multiple stack-based buffer overflows in ntpd in NTP before 4.2.8 allow remote attackers to execute arbitrary code via a crafted packet, re…

Published Dec 20, 2014 · Updated Aug 6, 2024 · Assigned by mitre

Description

Multiple stack-based buffer overflows in ntpd in NTP before 4.2.8 allow remote attackers to execute arbitrary code via a crafted packet, related to (1) the crypto_recv function when the Autokey Authentication feature is used, (2) the ctl_putdata function, and (3) the configure function.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 ntp 1:4.2.6.p5+dfsg-3.2 —
Debian 7 ntp 1:4.2.6.p5+dfsg-2+deb7u1 DSA-3108-1
Debian 6.0 ntp 1:4.2.6.p2+dfsg-1+deb6u1 DLA-116-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS ntp 1:4.2.6.p5+dfsg-3ubuntu2.14.04.1 USN-2449-1
ReleasePackageFixed inAdvisory
RHEL 7 ntp +4 4.2.6p5-19.el7_0 RHSA-2014:2024
RHEL 6 ntp +3 4.2.6p5-2.el6_6 RHSA-2014:2024
RHEL 5 ntp 4.2.2p1-18.el5_11 RHSA-2014:2025
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 6.5 EUS ntp +3 4.2.6p5-2.el6_5 RHSA-2015:0104
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ntp 4.2.8p9-1.1 openSUSE-SU-2024:10181-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 ntp +4 4.2.6p5-19.el7_0 ELSA-2014-2024

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 10

References