Hesiod 3.2.1 lib/hesiod.c hesiod_init HESIOD_CONFIG/HES_DOMAIN access control
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.1 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as problematic has been found in Hesiod 3.2.1. Affected by this vulnerability is the function hesiod_init in the library lib/hesiod.c. Such manipulation of the argument HESIOD_CONFIG/HES_DOMAIN as part of Environment Variable leads to access control.
This vulnerability is traded as CVE-2016-10151. An attack has to be approached locally. There is no exploit available.
Details
A vulnerability was found in Hesiod 3.2.1 and classified as problematic. Affected by this issue is the function hesiod_init in the library lib/hesiod.c. The manipulation of the argument HESIOD_CONFIG/HES_DOMAIN as part of a Environment Variable leads to a access control vulnerability. Using CWE to declare the problem leads to CWE-264. Impacted is confidentiality, integrity, and availability. CVE summarizes:
The hesiod_init function in lib/hesiod.c in Hesiod 3.2.1 compares EUID with UID to determine whether to use configurations from environment variables, which allows local users to gain privileges via the (1) HESIOD_CONFIG or (2) HES_DOMAIN environment variable and leveraging certain SUID/SGUID binary.
The bug was discovered 01/20/2017. The weakness was shared 03/01/2017 by Florian Weimer (oss-sec). The advisory is available at openwall.com. This vulnerability is handled as CVE-2016-10151 since 01/20/2017. Local access is required to approach this attack. A simple authentication is necessary for exploitation. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1068 by the MITRE ATT&CK project.
The vulnerability was handled as a non-public zero-day exploit for at least 40 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 109533 (GLSA-201805-01 : hesiod: Root privilege escalation), 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 277546 (Fedora Security Update for hesiod (FEDORA-2018-25c6d1b417)).
A possible mitigation has been published 2 years after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (109533) and SecurityFocus (BID 90952†). The entry VDB-98946 is related to this item. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.1VulDB Meta Temp Score: 6.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.0
NVD Vector: 🔍
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: Access controlCWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 109533
Nessus Name: GLSA-201805-01 : hesiod: Root privilege escalation
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
05/04/2016 🔍01/20/2017 🔍
01/20/2017 🔍
03/01/2017 🔍
03/01/2017 🔍
03/02/2017 🔍
05/02/2018 🔍
05/03/2018 🔍
09/03/2020 🔍
Sources
Advisory: openwall.comResearcher: Florian Weimer
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2016-10151 (🔍)
GCVE (CVE): GCVE-0-2016-10151
GCVE (VulDB): GCVE-100-97394
SecurityFocus: 90952 - Hesiod Security Bypass and Privilege Escalation Vulnerabilities
OSVDB: - CVE-2016-10151 - Hesiod - Privilege Escalation Issue
See also: 🔍
Entry
Created: 03/02/2017 09:28Updated: 09/03/2020 06:44
Changes: 03/02/2017 09:28 (74), 09/03/2020 06:44 (9)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.