A privilege escalation vulnerability was found in nagios 4.2.x that occurs in daemon-init.in when creating necessary files and insecurely changing the ownership afterwards. Its possible for the local attacker to create symbolic links before the files are to be created and possibly escalating the privileges with the ownership change.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Nagios | Nagios | 4.2.0 (including) | 4.2.0 (including) |
Nagios | Nagios | 4.2.1 (including) | 4.2.1 (including) |
Nagios | Nagios | 4.2.2 (including) | 4.2.2 (including) |
Nagios | Nagios | 4.2.3 (including) | 4.2.3 (including) |
Icinga | Ubuntu | artful | * |
Icinga | Ubuntu | precise | * |
Icinga | Ubuntu | yakkety | * |
Icinga | Ubuntu | zesty | * |