7.8
HIGH
CVE-2021-31854
McAfee Agent (MA) Command Injection Vulnerability
Description

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.

INFO

Published Date :

Jan. 19, 2022, 11:15 a.m.

Last Modified :

Nov. 21, 2024, 6:06 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2021-31854 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Mcafee agent
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-31854.

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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-31854 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-31854 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://kc.mcafee.com/corporate/index?page=content&id=SB10378
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Description 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. 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.
    Added Reference Trellix https://kc.mcafee.com/corporate/index?page=content&id=SB10378 [No types assigned]
    Removed Reference McAfee (DEFUNCT) https://kc.mcafee.com/corporate/index?page=content&id=SB10378
    Added CWE Trellix CWE-78
    Removed CWE McAfee (DEFUNCT) CWE-78
    Removed CVSS V3.1 McAfee (DEFUNCT) AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
    Added CVSS V3.1 Trellix AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
  • CVE Source Update by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Source McAfee (DEFUNCT) Trellix
  • Modified Analysis by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Dec. 20, 2022

    Action Type Old Value New Value
    Removed CWE McAfee CWE-77
    Added CWE McAfee CWE-78
    Removed CWE Reason CWE-77 / More specific CWE option available
  • Reanalysis by [email protected]

    Aug. 04, 2022

    Action Type Old Value New Value
    Removed CWE NIST CWE-77
    Added CWE NIST CWE-78
  • Modified Analysis by [email protected]

    May. 10, 2022

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 27, 2022

    Action Type Old Value New Value
    Removed CWE McAfee CWE-94
    Added CWE McAfee CWE-77
    Removed CWE Reason CWE-94 / More specific CWE option available
  • Initial Analysis by [email protected]

    Jan. 25, 2022

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://kc.mcafee.com/corporate/index?page=content&id=SB10378 No Types Assigned https://kc.mcafee.com/corporate/index?page=content&id=SB10378 Vendor Advisory
    Added CWE NIST CWE-77
    Added CPE Configuration OR *cpe:2.3:a:mcafee:agent:*:*:*:*:*:windows:*:* versions up to (excluding) 5.7.5
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-31854 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.05 }} 0.00%

score

0.21829

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability