Skip to content
Fencer Intel
medium 6.5

CVE-2015-7851 json

Directory traversal vulnerability in the save_config function in ntpd in ntp_control.c in NTP before 4.2.8p4, when used on systems that do…

published 6y ago modified 4mo ago also EUVD-2015-7749

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.9%
EPSS 3.9% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

Directory traversal vulnerability in the save_config function in ntpd in ntp_control.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.

Patch / fix

  • ntp ntp 4.2.8, 4.3.77
  • ntp Debian 11 1:4.2.8p4+dfsg-1

debian advisories DEBIAN-CVE-2015-7851

  • ntp SLES 11 SP3-TERADATA, SLES 11 SP3-LTSS, SLES 11 SP2-LTSS +3 more 4.2.8p6-41.1
  • ntp SLES for SAP 12, SLES 12, SLED 12 4.2.8p6-46.5.2
  • yast2-ntp-client SLES for SAP 12, SLES 12, SLED 12 +1 more 3.1.12.4-8.2
  • ntp SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 4.2.8p4-5.1
  • yast2-ntp-client SLES 11 SP2-LTSS 2.17.14.1-1.12.1

suse advisories SUSE-SU-2016:1311-1SUSE-SU-2016:1247-1SUSE-SU-2015:2058-1

  • ntp openSUSE Tumbleweed 4.2.8p9-1.1

opensuse advisories openSUSE-SU-2024:10181-1

Is CVE-2015-7851 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-7851 updated cvss 4.3

ntp: saveconfig directory traversal vulnerability

  • Red Hat Enterprise Linux 5 ntp Red Hat Enterprise Linux 6 ntp, ntpdate, ntp-perl Red Hat Enterprise Linux 7 ntp, sntp, ntpdate, ntp-perl
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.94% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • talosintel.com http://www.talosintel.com/reports/TALOS-2015-0062/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.