CVE-2015-7703: Input Validation
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/ntpto a version that resolves this vulnerability.Fixed in 1:4.2.8p4+dfsg-1 - Upgrade
Upgrade
debian/ntpto a version that resolves this vulnerability.Fixed in 1:4.2.6.p2+dfsg-1+deb6u4Fixed in 1:4.2.6.p5+dfsg-2+deb7u6Fixed in 1:4.2.6.p5+dfsg-7+deb8u1Fixed in 1:4.2.8p4+dfsg-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.2.8p4 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.3.77
Event History
Frequently Asked Questions
What is the severity of CVE-2015-7703?
CVE-2015-7703 has a severity rating of important, as it allows remote attackers to exploit configuration settings.
How do I fix CVE-2015-7703?
To fix CVE-2015-7703, upgrade NTP to version 4.2.8p4 or higher for 4.2.x, or 4.3.77 or higher for 4.3.x.
What versions of NTP are affected by CVE-2015-7703?
CVE-2015-7703 affects NTP versions 4.2.0 to 4.2.8p3 and 4.3.0 to 4.3.76.
What kind of attacks can result from CVE-2015-7703?
CVE-2015-7703 allows attackers to perform unauthorized management actions on the NTP server due to remote configuration vulnerabilities.
Is there a workaround for CVE-2015-7703?
As a temporary workaround for CVE-2015-7703, disable remote configuration on the NTP server.