CVE-2018-12327

critical
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Description

Stack-based buffer overflow in ntpq and ntpdc of NTP version 4.2.8p11 allows 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. NOTE: It is unclear whether there are any common situations in which ntpq or ntpdc is used with a command line from an untrusted source.

References

http://www.securityfocus.com/bid/104517

https://access.redhat.com/errata/RHSA-2018:3853

https://access.redhat.com/errata/RHSA-2018:3854

https://access.redhat.com/errata/RHSA-2019:2077

https://gist.github.com/fakhrizulkifli/9b58ed8e0354e8deee50b0eebd1c011f

https://security.gentoo.org/glsa/201903-15

https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us

https://usn.ubuntu.com/4229-1/

https://www.exploit-db.com/exploits/44909/

Details

Source: MITRE

Published: 2018-06-20

Updated: 2020-08-24

Type: CWE-787

Risk Information

CVSS v2

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 10

Severity: HIGH

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 3.9

Severity: CRITICAL

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:ntp:ntp:4.2.8:p11:*:*:*:*:*:*

Tenable Plugins

View all (40 total)

IDNameProductFamilySeverity
144545Virtuozzo 6 : ntp / ntp-doc / ntp-perl / ntpdate (VZLSA-2018-3854)NessusVirtuozzo Local Security Checks
critical
143035RHEL 7 : ntp (RHSA-2020:1470)NessusRed Hat Local Security Checks
critical
132434NewStart CGSL CORE 5.05 / MAIN 5.05 : ntp Vulnerability (NS-SA-2019-0255)NessusNewStart CGSL Local Security Checks
critical
131701Juniper Junos Space < 19.2R1 Multiple Vulnerabilities (JSA10951)NessusJunos Local Security Checks
critical
131236Amazon Linux 2 : ntp (ALAS-2019-1367)NessusAmazon Linux Local Security Checks
critical
129940NewStart CGSL CORE 5.04 / MAIN 5.04 : ntp Vulnerability (NS-SA-2019-0206)NessusNewStart CGSL Local Security Checks
critical
128347CentOS 7 : ntp (CESA-2019:2077)NessusCentOS Local Security Checks
critical
128244Scientific Linux Security Update : ntp on SL7.x x86_64 (20190806)NessusScientific Linux Local Security Checks
critical
127666RHEL 7 : ntp (RHSA-2019:2077)NessusRed Hat Local Security Checks
critical
127422NewStart CGSL MAIN 4.05 : ntp Vulnerability (NS-SA-2019-0150)NessusNewStart CGSL Local Security Checks
critical
125009EulerOS Virtualization 3.0.1.0 : ntp (EulerOS-SA-2019-1556)NessusHuawei Local Security Checks
critical
124901EulerOS Virtualization for ARM 64 3.0.1.0 : ntp (EulerOS-SA-2019-1398)NessusHuawei Local Security Checks
critical
123899EulerOS Virtualization 2.5.4 : ntp (EulerOS-SA-2019-1213)NessusHuawei Local Security Checks
critical
123893EulerOS Virtualization 2.5.3 : ntp (EulerOS-SA-2019-1207)NessusHuawei Local Security Checks
critical
123357openSUSE Security Update : ntp (openSUSE-2019-856)NessusSuSE Local Security Checks
critical
122937GLSA-201903-15 : NTP: Multiple vulnerabilitiesNessusGentoo Local Security Checks
critical
122380EulerOS 2.0 SP2 : ntp (EulerOS-SA-2019-1053)NessusHuawei Local Security Checks
critical
122210EulerOS 2.0 SP3 : ntp (EulerOS-SA-2019-1037)NessusHuawei Local Security Checks
critical
121990Photon OS 2.0: Ntp PHSA-2018-2.0-0088NessusPhotonOS Local Security Checks
critical
121884Photon OS 1.0: Ntp PHSA-2018-1.0-0180NessusPhotonOS Local Security Checks
critical
121002EulerOS 2.0 SP5 : ntp (EulerOS-SA-2019-1014)NessusHuawei Local Security Checks
critical
120864Fedora 28 : ntp (2018-e585e25b72)NessusFedora Local Security Checks
critical
120143SUSE SLES15 Security Update : ntp (SUSE-SU-2018:3386-1)NessusSuSE Local Security Checks
critical
119884Scientific Linux Security Update : ntp on SL6.x i386/x86_64 (20181220)NessusScientific Linux Local Security Checks
critical
119823OracleVM 3.3 / 3.4 : ntp (OVMSA-2018-0290)NessusOracleVM Local Security Checks
critical
119803RHEL 6 : ntp (RHSA-2018:3854)NessusRed Hat Local Security Checks
critical
119802RHEL 6 : ntp (RHSA-2018:3853)NessusRed Hat Local Security Checks
critical
119796Oracle Linux 6 : ntp (ELSA-2018-3854)NessusOracle Linux Local Security Checks
critical
119791CentOS 6 : ntp (CESA-2018:3854)NessusCentOS Local Security Checks
critical
118450openSUSE Security Update : ntp (openSUSE-2018-1280)NessusSuSE Local Security Checks
critical
118445openSUSE Security Update : ntp (openSUSE-2018-1275)NessusSuSE Local Security Checks
critical
118357SUSE SLES11 Security Update : ntp (SUSE-SU-2018:3356-1)NessusSuSE Local Security Checks
critical
118356SUSE SLES11 Security Update : ntp (SUSE-SU-2018:3352-1)NessusSuSE Local Security Checks
critical
118355SUSE SLES12 Security Update : ntp (SUSE-SU-2018:3351-1)NessusSuSE Local Security Checks
critical
118352SUSE SLED12 / SLES12 Security Update : ntp (SUSE-SU-2018:3342-1)NessusSuSE Local Security Checks
critical
117607Amazon Linux AMI : ntp (ALAS-2018-1083)NessusAmazon Linux Local Security Checks
critical
112223Photon OS 1.0: Ntp / Linux PHSA-2018-1.0-0180 (deprecated)NessusPhotonOS Local Security Checks
critical
112222Photon OS 2.0: Ntp / Linux PHSA-2018-2.0-0088 (deprecated)NessusPhotonOS Local Security Checks
critical
111995Slackware 14.0 / 14.1 / 14.2 / current : ntp (SSA:2018-229-01)NessusSlackware Local Security Checks
critical
111968Network Time Protocol Daemon (ntpd) 4.x < 4.2.8p12 / 4.3.x < 4.3.94 Multiple VulnerabilitiesNessusMisc.
critical