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.
[ { "source": "https://github.com/nagiosenterprises/nagioscore/commit/1b197346d490df2e2d3b1dcce5ac6134ad0c8752", "target": { "file": "base/nagios.c" }, "signature_version": "v1", "deprecated": false, "id": "CVE-2017-12847-1c71215f", "digest": { "line_hashes": [ "18166993775096451283999305342393905517", "323285575529554466441180117519626675682", "302534000399466920953880950409099860418", "224454027163474106003223621063889339353", "136183904707565155328563958712168354046", "265106673575102192321822654067499560795", "169704132406692230459444399014392071239", "99320945942352524122598772702530167798", "222776566464554068020891999008718271011", "184054446001580763048825606566453869192", "278528254558251760976394294382491493241", "188647213713844536507083633210708505557", "222291352107249277855673226898122059471", "99719521977677722006786535212271976493", "37644059831282870098599897202419719148", "334925305892522566529414181630766856783" ], "threshold": 0.9 }, "signature_type": "Line" }, { "source": "https://github.com/nagiosenterprises/nagioscore/commit/1b197346d490df2e2d3b1dcce5ac6134ad0c8752", "target": { "function": "main", "file": "base/nagios.c" }, "signature_version": "v1", "deprecated": false, "id": "CVE-2017-12847-ff6f8b6d", "digest": { "function_hash": "163218892130331372729747023081253370699", "length": 15757.0 }, "signature_type": "Function" } ]