Stack-based buffer overflow in Network Time Protocol - CVE-2018-12327

 

Stack-based buffer overflow in Network Time Protocol - CVE-2018-12327

Published: August 14, 2018 / Updated: June 17, 2021


Vulnerability identifier: #VU14448
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/U:Clear
CVE-ID: CVE-2018-12327
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: ntp.org
Affected software:
Network Time Protocol

Detailed vulnerability description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists due to stack-based buffer overflow in the Network Time Protocol Query (ntpq) program and Network Time Protocol daemon (ntpd) when handling malicious input. A local attacker can submit a long string argument for an IPv4 or IPv6 command-line parameter, trigger memory corruption and execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2018-12327

Cybersecurity Help is currently unaware of any solutions addressing the vulnerability.

Sources