CVE-2015-7851 Path traversal in n/a

Medium 6.5 Published Updated

Remote authenticated users can overwrite arbitrary files via directory traversal in NTP on systems using non-standard path separators.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-7851?

CVE-2015-7851 is a medium-severity path traversal vulnerability in Ntp Ntp, published on 28 Jan 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-22

Which versions are affected by CVE-2015-7851?

It affects 1 product.

Products include Ntp Ntp.

How do I fix CVE-2015-7851?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2015-7851 being exploited?

There is no known exploitation of CVE-2015-7851 in the wild and no public exploit code.

All Ntp Ntp vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-7851, GHSA-qp94-wj83-fxfq.

Is CVE-2015-7851 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free