McAfee Agent < 5.7.5 Multiple Vulnerabilities (SB10378)

high Nessus Plugin ID 157126

Synopsis

A security management agent installed on the remote host is affected by multiple vulnerabilities.

Description

The version of McAfee Agent, formerly McAfee ePolicy Orchestrator (ePO) Agent, installed on the remote host is prior to 5.7.5. It is, therefore, affected by the following vulnerabilities:

- A command Injection Vulnerability in McAfee Agent (MA) for Windows prior to 5.7.5 allows local users to inject arbitrary shell code into the file cleanup.exe. The malicious clean.exe file is placed into the relevant folder and executed by running the McAfee Agent deployment feature located in the System Tree.
An attacker may exploit the vulnerability to obtain a reverse shell which can lead to privilege escalation to obtain root privileges. (CVE-2021-31854)

- A privilege escalation vulnerability in the McAfee Agent prior to 5.7.5. McAfee Agent uses openssl.cnf during the build process to specify the OPENSSLDIR variable as a subdirectory within the installation directory. A low privilege user could have created subdirectories and executed arbitrary code with SYSTEM privileges by creating the appropriate pathway to the specifically created malicious openssl.cnf file. (CVE-2022-0166) Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to McAfee Agent version 5.7.5 or later.

See Also

https://kc.mcafee.com/corporate/index?page=content&id=SB10378

Plugin Details

Severity: High

ID: 157126

File Name: mcafee_agent_SB10378.nasl

Version: 1.5

Type: local

Agent: windows

Family: Windows

Published: 1/26/2022

Updated: 5/6/2022

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2021-31854

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

CVSS Score Source: CVE-2022-0166

Vulnerability Information

CPE: cpe:/a:mcafee:epolicy_orchestrator_agent, cpe:/a:mcafee:agent

Required KB Items: SMB/Registry/Enumerated, installed_sw/McAfee ePO Agent

Exploit Ease: No known exploits are available

Patch Publication Date: 1/18/2022

Vulnerability Publication Date: 1/18/2022

Reference Information

CVE: CVE-2021-31854, CVE-2022-0166

IAVA: 2022-A-0045-S