PT-2018-3864 · Ntp+8 · Ntp+9

D0Lph1N98

·

Published

2018-06-20

·

Updated

2025-10-02

·

CVE-2018-12327

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions NTP version 4.2.8p11 Eltex ESR-200 (affected versions not specified) NTP (affected versions not specified)
Description The issue is related to the implementation of the NTP protocol, which can lead to security restrictions being bypassed. An attacker could exploit this by creating many ephemeral associations to win the clock selection of ntpd and modify a victim's clock. Additionally, there is a stack-based buffer overflow in ntpq and ntpdc, allowing an attacker to achieve code execution or escalate to higher privileges via a long string as the argument for an IPv4 or IPv6 command-line parameter.
Recommendations For NTP version 4.2.8p11, consider updating to a newer version that addresses the stack-based buffer overflow issue. For Eltex ESR-200, restrict access to the NTP protocol implementation to minimize the risk of exploitation due to the uncontrolled resource consumption vulnerability. For NTP, to mitigate the Sybil attack vulnerability, consider implementing restrictions on the creation of ephemeral associations to prevent an attacker from winning the clock selection of ntpd. At the moment, there is no information about a newer version that contains a fix for this vulnerability in all cases.

Exploit

Fix

Stack Overflow

Memory Corruption

Weakness Enumeration

Related Identifiers

ALT-PU-2018-2239
BDU:2023-01499
CESA-2018_3854
CESA-2019_2077
CVE-2018-12327
MGASA-2018-0371
OPENSUSE-SU-2018_3438-1
OPENSUSE-SU-2018_3452-1
OPENSUSE-SU-2024:11102-1
RHSA-2018:3853
RHSA-2018:3854
RHSA-2018_3854
RHSA-2019:2077
RHSA-2019_2077
RHSA-2020:1470
SUSE-SU-2018:3342-1
SUSE-SU-2018:3342-2
SUSE-SU-2018:3351-1
SUSE-SU-2018:3352-1
SUSE-SU-2018:3356-1
SUSE-SU-2018:3386-1
SUSE-SU-2018_3342-1
SUSE-SU-2018_3342-2
SUSE-SU-2018_3351-1
SUSE-SU-2018_3352-1
SUSE-SU-2018_3356-1
SUSE-SU-2018_3386-1
USN-4229-1
USN-4229-2

Affected Products

Alt Linux
Centos
Debian
Eltex
Eltex Esp-200
Ibm Aix
Ntp
Red Hat
Suse
Ubuntu