EulerOS 2.0 SP3 : hesiod (EulerOS-SA-2022-1729)

critical Nessus Plugin ID 161579

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

According to the versions of the hesiod package installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- 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.
(CVE-2016-10151)

- The read_config_file function in lib/hesiod.c in Hesiod 3.2.1 falls back to the '.athena.mit.edu' default domain when opening the configuration file fails, which allows remote attackers to gain root privileges by poisoning the DNS cache. (CVE-2016-10152)

Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected hesiod packages.

See Also

http://www.nessus.org/u?ac4fc4c8

Plugin Details

Severity: Critical

ID: 161579

File Name: EulerOS_SA-2022-1729.nasl

Version: 1.2

Type: local

Published: 5/26/2022

Updated: 5/26/2022

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: E:U/RL:OF/RC:C

CVSS Score Source: CVE-2016-10152

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:hesiod, cpe:/o:huawei:euleros:2.0

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/EulerOS/release, Host/EulerOS/rpm-list, Host/EulerOS/sp

Excluded KB Items: Host/EulerOS/uvp_version

Exploit Ease: No known exploits are available

Patch Publication Date: 5/25/2022

Vulnerability Publication Date: 5/4/2016

Reference Information

CVE: CVE-2016-10151, CVE-2016-10152