#VU10802 Memory corruption in Network Time Protocol - CVE-2018-7183

 

#VU10802 Memory corruption in Network Time Protocol - CVE-2018-7183

Published: March 1, 2018 / Updated: March 1, 2018


Vulnerability identifier: #VU10802
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2018-7183
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Network Time Protocol
Software vendor:
ntp.org

Description

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

The weakness exists in the decodearr() function of the ntpq monitoring and control program for ntpd used by the Network Time Protocol due to boundary error while attempting to decode an array in a response string when formatted data is being displayed. A remote attacker who is able to read an ntpq request while the request is being transmitted to a remote ntpd server can forge and send a specially crafted response to the targeted system prior to the remote ntpd server sending its response, trigger out-of-bounds write in the decodearr() function and  inject and execute arbitrary code.

Remediation

Update to version 4.2.8p11.

External links