CVE-2015-7976 Command injection in n/a
Attackers can execute arbitrary commands via crafted filenames in the ntpq saveconfig command due to improper input filtering.
- 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-7976?
CVE-2015-7976 is a medium-severity command injection vulnerability in Ntp Ntp, published on 30 Jan 2017. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The ntpq saveconfig command in NTP 4.1.2, 4.2.x before 4.2.8p6, 4.3, 4.3.25, 4.3.70, and 4.3.77 does not properly filter special characters, which allows attackers to cause unspecified impact via a crafted filename.
Weakness: CWE-254
Which versions are affected by CVE-2015-7976?
It affects 10 products.
Products include Novell Suse Openstack Cloud, Ntp Ntp, Opensuse Leap, Opensuse Opensuse, Suse Linux Enterprise Debuginfo, Suse Linux Enterprise Desktop and 4 more.
How do I fix CVE-2015-7976?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2015-7976 being exploited?
There is no known exploitation of CVE-2015-7976 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2015-7976, GHSA-gh77-qwr7-pqm7, UBUNTU-CVE-2015-7976.