#VU12771 Stack-based buffer overflow in ntp


Published: 2018-05-16 | Updated: 2018-05-17

Vulnerability identifier: #VU12771

Vulnerability risk: High

CVSSv3.1: 8.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-6460

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
ntp
Server applications / Other server solutions

Vendor: ntp.org

Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists in the reslist() function in ntpq due to stack-based buffer overflow triggered by a malicious ntpd server when ntpq requests the restriction list from the server. A remote attacker can trigger memory corruption and execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

Mitigation
Update to version 4.2.8p10 or 4.3.94.

Vulnerable software versions

ntp: 4.2.8 - 4.3.93


External links
http://support.ntp.org/bin/view/Main/NtpBug3377


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability