All reports
Low

ntp: config command can be used to set the pidfile and drift file paths

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2015-7703

Probability of exploitation in the next 30 days: 3.82%

FIRST EPSS · 2026-11-22

Description

The "pidfile" or "driftfile" directives in NTP ntpd 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77, when ntpd is configured to allow remote configuration, allows remote attackers with an IP address that is allowed to send configuration requests, and with knowledge of the remote configuration password to write to arbitrary files via the :config command.

It was found that NTP's :config command could be used to set the pidfile and driftfile paths without any restrictions. A remote attacker could use this flaw to overwrite a file on the file system with a file containing the pid of the ntpd process (immediately) or the current estimated drift of the system clock (in hourly intervals).