EulerOS 2.0 SP2 : oddjob (EulerOS-SA-2021-1334)

medium Nessus Plugin ID 146690

Synopsis

The remote EulerOS host is missing a security update.

Description

According to the version of the oddjob packages installed, the EulerOS installation on the remote host is affected by the following vulnerability :

- A race condition was found in the mkhomedir tool shipped with the oddjob package in versions before 0.34.5 and 0.34.6 wherein, during the home creation, mkhomedir copies the /etc/skel directory into the newly created home and changes its ownership to the home's user without properly checking the homedir path. This flaw allows an attacker to leverage this issue by creating a symlink point to a target folder, which then has its ownership transferred to the new home directory's unprivileged user.(CVE-2020-10737)

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 oddjob package.

See Also

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

Plugin Details

Severity: Medium

ID: 146690

File Name: EulerOS_SA-2021-1334.nasl

Version: 1.3

Type: local

Published: 2/22/2021

Updated: 1/19/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Low

Base Score: 3.7

Temporal Score: 2.7

Vector: CVSS2#AV:L/AC:H/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2020-10737

CVSS v3

Risk Factor: Medium

Base Score: 6.3

Temporal Score: 5.5

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

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

Vulnerability Information

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

Required KB Items: Host/local_checks_enabled, 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: 2/19/2021

Reference Information

CVE: CVE-2020-10737