Configuration error in Hesiod - CVE-2016-10151

 

Configuration error in Hesiod - CVE-2016-10151

Published: May 8, 2018


Vulnerability identifier: #VU12433
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2016-10151
CWE-ID: CWE-16
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Achernya
Affected software:
Hesiod

Detailed vulnerability description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The weakness exists in the hesiod_init function in lib/hesiod.c due to comparing EUID with UID to determine whether to use configurations from environment variables. A local attacker can gain root privileges via the (1) HESIOD_CONFIG or (2) HES_DOMAIN environment variable and leveraging certain SUID/SGUID binary.

How to mitigate CVE-2016-10151

Install update from vendor's website.

Sources