CVE-2017-12847 Race condition in n/a
Local attackers can exploit a race condition in Nagios Core to kill arbitrary processes or escalate privileges by modifying the lock file before root execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-12847?
CVE-2017-12847 is a medium-severity vulnerability in n/a, published on 23 Aug 2017. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Nagios Core before 4.3.3 creates a nagios.lock PID file after dropping privileges to a non-root account, which might allow local users to kill arbitrary processes by leveraging access to this non-root account for nagios.lock modification before a root script executes a "kill `cat /pathname/nagios.lock`" command.
Weakness: CWE-665
Which versions are affected by CVE-2017-12847?
It affects 1 product.
Products include Nagios Nagios.
How do I fix CVE-2017-12847?
Upgrade to a fixed version.
Is CVE-2017-12847 being exploited?
There is no known exploitation of CVE-2017-12847 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-6j77-rprv-m39j, MGASA-2017-0437, UBUNTU-CVE-2017-12847.