Code injection vulnerability in McAfee Agent
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA McAfee Agent for Windows (McAfee,LLC) Fixed in 5.7.5
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
McAfee,LLC McAfee Agent for Windows 5.7.5
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2022-00107 Privilege escalation vulnerability in McAfee AgentPriority LOW 39
Timeline
- 2026-10-02 Threatist record created from CVE-2021-31854
- 2026-10-03 Alias added: GHSA-5jww-7299-jr22
References
More McAfee Agent vulnerabilities
- TI-2018-04930 Remote Logging functionality had a use after free vulnerability in McAfee Agent CVSS 3.1CRITICAL 9.8
- TI-2019-01190 0-byte record padding oracle CVSS 3.1MEDIUM 5.9
- TI-2021-00984 Cisco DNA Center Cross-Site Request Forgery Vulnerability CVSS 3.1HIGH 8.8
- TI-2022-00107 Privilege escalation vulnerability in McAfee Agent CVSS 3.1HIGH 7.8
- TI-2022-01144 SQL injection vulnerability in McAfee Agent's ePO extension CVSS 3.1HIGH 8.4
- TI-2022-02136 DLL high jacking in Trellix Agent CVSS 3.1HIGH 8.2
Sources
- CVE-2021-31854 · CVE Program
- CVE-2021-31854 · NVD
- FIRST EPSS
- GHSA-5jww-7299-jr22 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences