Nagios up to 4.2.x Symbolic Link daemon-init.in link following
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Nagios up to 4.2.x. It has been declared as problematic. Affected by this issue is some unknown functionality of the file daemon-init.in of the component Symbolic Link Handler. Executing a manipulation can lead to link following. The identification of this vulnerability is CVE-2016-8641. The attack can only be executed locally. Furthermore, there is an exploit available. It is recommended to upgrade the affected component.
Details
A vulnerability classified as problematic was found in Nagios up to 4.2.x (Log Management Software). This vulnerability affects some unknown processing of the file daemon-init.in of the component Symbolic Link Handler. The manipulation with an unknown input leads to a link following vulnerability. The CWE definition for the vulnerability is CWE-59. 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. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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. It's 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 bug was discovered 11/08/2016. The weakness was shared 08/01/2018 as EDB-ID 40774 as confirmed exploit (Exploit-DB). The advisory is shared for download at exploit-db.com. This vulnerability was named CVE-2016-8641 since 10/12/2016. The attack needs to be approached locally. Required for exploitation is a single authentication. Technical details and also a public exploit are known.
A public exploit has been developed by Vincent Malguy and been published even before and not after the advisory. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 105 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 97269 (GLSA-201702-26 : Nagios: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 171643 (SUSE Enterprise Linux Security Update for nagios (SUSE-SU-2018:3240-1)).
Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (40774), Tenable (97269) and SecurityFocus (BID 95121†). The entries VDB-96983, VDB-99125, VDB-121379 and VDB-121380 are related to this item. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.8VulDB Meta Temp Score: 6.6
VulDB Base Score: 5.9
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CNA Base Score: 6.7
CNA Vector (Red Hat, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Link followingCWE: CWE-59
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Vincent Malguy
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 97269
Nessus Name: GLSA-201702-26 : Nagios: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Patch: github.com
Timeline
10/12/2016 🔍11/08/2016 🔍
11/17/2016 🔍
11/17/2016 🔍
11/22/2016 🔍
02/20/2017 🔍
02/21/2017 🔍
08/01/2018 🔍
08/01/2018 🔍
08/02/2018 🔍
11/28/2024 🔍
Sources
Advisory: EDB-ID 40774Status: Confirmed
Confirmation: 🔍
CVE: CVE-2016-8641 (🔍)
GCVE (CVE): GCVE-0-2016-8641
GCVE (VulDB): GCVE-100-122464
SecurityFocus: 95121 - Nagios CVE-2016-8641 Local Privilege Escalation Vulnerability
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 08/02/2018 07:21Updated: 11/28/2024 18:55
Changes: 08/02/2018 07:21 (84), 03/12/2020 10:41 (3), 04/28/2023 02:23 (4), 04/28/2023 02:31 (11), 11/28/2024 18:55 (14)
Complete: 🔍
Cache ID: 216:FAA:103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.