CVE-2015-7851: Path Traversal
Directory traversal vulnerability in the saveconfig function in ntpd in ntpcontrol.c in NTP before 4.2.8p4, when used on systems that do not use '\' or '/' characters for directory separation such as OpenVMS, allows remote authenticated users to overwrite arbitrary files.
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
Event History
Frequently Asked Questions
What is CVE-2015-7851?
CVE-2015-7851 is a directory traversal vulnerability in the save_config function in ntpd in NTP before 4.2.8p4.
How does CVE-2015-7851 affect NTP?
CVE-2015-7851 allows remote authenticated users to overwrite arbitrary files on systems that do not use '\' or '/' characters for directory separation such as OpenVMS.
Which versions of NTP are affected by CVE-2015-7851?
NTP versions before 4.2.8p4 are affected by CVE-2015-7851.
What is the severity of CVE-2015-7851?
CVE-2015-7851 has a severity rating of 6.5 (medium).
How can I fix CVE-2015-7851?
To fix CVE-2015-7851, you should upgrade to NTP version 4.2.8p4 or later.