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: 8.5 [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]
CVE-ID: CVE-2016-10151
CWE-ID: CWE-16
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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.

Affected software

Hesiod
Gentoo Linux
Fedora
hesiod

How to mitigate CVE-2016-10151

Install update from vendor's website.

hesiod - addressed in versions 3.2.1-14.fc27, 3.2.1-14.fc28, 3.2.1-14.fc29

External References

Related Security Bulletins