CVE-2018-12327 EXPLOIT
9.8
CRITICAL · CVSS 3.0 · EPSS 28% (pctl 98)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 9.8 (CRITICAL, v3.0) |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 28.02% — more likely to be exploited than 98% of all CVEs |
| Weakness | CWE-787 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2018-06-20 |
| Last modified | 2026-06-17 |
Affected (1)
| Vendor | Product |
|---|---|
| ntp | ntp |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | ntp 4.2.8p11 - Local Buffer Overflow (PoC) | 2018-06-20 |
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/
- 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/
→ the Explorer · watch your stack · NVD