-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2021.2059
       Security Bulletin - McAfee Agent for Windows update fixes two
            vulnerabilities (CVE-2021-31839 and CVE-2021-31840)
                               10 June 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           McAfee Agent (MA)
Publisher:         McAfee
Operating System:  Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
                   Increased Privileges            -- Existing Account
                   Modify Arbitrary Files          -- Existing Account
                   Create Arbitrary Files          -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-31840 CVE-2021-31839 

Original Bulletin: 
   https://kc.mcafee.com/corporate/index?page=content&id=SB10362

- --------------------------BEGIN INCLUDED TEXT--------------------

Security Bulletins ID   : SB10362

Last Modified           : 6/8/2021

Summary

First Published: June 8, 2021
+----------------+---------+--------------+-----------------+--------+--------+
|                |         |              |                 |        |CVSS    |
|                |Impacted |              |Impact of        |Severity|v3.1    |
|Product:        |Versions:|CVE ID:       |Vulnerabilities: |Ratings:|Base/   |
|                |         |              |                 |        |Temporal|
|                |         |              |                 |        |Scores: |
+----------------+---------+--------------+-----------------+--------+--------+
|McAfee Agent    |5.x prior|              |CWE-269: Improper|        |4.8 /   |
|(MA) for Windows|to 5.7.3 |CVE-2021-31839|Privilege        |Medium  |4.3     |
|                |         |              |Management       |        |        |
+----------------+---------+--------------+-----------------+--------+--------+
|                |         |              |CWE-427:         |        |        |
|MA for Windows  |5.x prior|CVE-2021-31840|Uncontrolled     |High    |7.3 /   |
|                |to 5.7.3 |              |search path      |        |6.6     |
|                |         |              |element          |        |        |
+----------------+---------+--------------+-----------------+--------+--------+
|Recommendations:|Install or update to MA for Windows 5.7.3                   |
+----------------+------------------------------------------------------------+
|Security        |                                                            |
|Bulletin        |None                                                        |
|Replacement:    |                                                            |
+----------------+------------------------------------------------------------+
|Location of     |                                                            |
|updated         |http://www.mcafee.com/us/downloads/downloads.aspx           |
|software:       |                                                            |
+----------------+------------------------------------------------------------+

To receive email notification when this Security Bulletin is updated, click
Subscribe on the right side of the page. You must be logged on to subscribe.

Article contents:

  o Vulnerability Description
  o Remediation
  o Frequently Asked Questions (FAQs)
  o Resources
  o Disclaimer

Vulnerability Description

 1. CVE-2021-31839
    Improper privilege management vulnerability in McAfee Agent for Windows
    prior to 5.7.3 allows a local user to modify event information in the MA
    event folder. This allows a local user to either add false events or remove
    events from the event logs prior to them being sent to the ePO server.

    This folder is intended to be accessible to third-party products which are
    integrated with ePO. Permissions have been updated to only allow authorized
    third-party products access to this folder.
    https://web.nvd.nist.gov/view/vuln/detailvulnId=CVE-2021-31839
    https://cve.mitre.org/cgi-bin/cvename.cginame=CVE-2021-31839
 2. CVE-2021-31840
    A vulnerability in the preloading mechanism of specific dynamic link
    libraries in McAfee Agent for Windows prior to 5.7.3 could allow an
    authenticated, local attacker to perform a DLL preloading attack with
    unsigned DLLs. To exploit this vulnerability, the attacker would need to
    have valid credentials on the Windows system. This would result in the user
    gaining elevated permissions and being able to execute arbitrary code.

    The vulnerability is due to insufficient validation of the resources loaded
    by the application at run time. An attacker could exploit this
    vulnerability by crafting a malicious DLL file and placing it in a specific
    location on the targeted system.
    https://web.nvd.nist.gov/view/vuln/detailvulnId=CVE-2021-31840
    https://cve.mitre.org/cgi-bin/cvename.cginame=CVE-2021-31840

Remediation
To remediate this issue, customers using MA for Windows should update to 5.7.3.

Go to the Product Downloads site , and download the applicable product update
file:
+--------------+-------+------+------------+
|Product       |Version|Type  |Release Date|
+--------------+-------+------+------------+
|MA for Windows|5.7.3  |Update|June 8, 2021|
+--------------+-------+------+------------+

Download and Installation Instructions
For instructions to download McAfee product updates and hotfixes, see: KB56057
- - How to download Enterprise product updates and documentation . Review the
Release Notes and the Installation Guide for instructions on how to install
these updates. All documentation is available at https://docs.mcafee.com .
Frequently Asked Questions (FAQs)
How do I know if my McAfee product is vulnerable or not
For endpoint products:
Use the following instructions for endpoint or client-based products:

 1. Right-click the McAfee tray shield icon on the Windows taskbar.
 2. Select Open Console .
 3. In the console, select Action Menu .
 4. In the Action Menu, select Product Details . The product version displays.

For ePO/server products:
Use the following instructions for server-based products:

  o Check the version and build of ePO that is installed. For instructions,
    see: KB52634 - How to determine what update is installed for ePO .
  o Create a query in ePO for the product version of the product installed
    within your organization.

What is CVSS
CVSS, or Common Vulnerability Scoring System, is the result of the National
Infrastructure Advisory Council's effort to standardize a system of assessing
the criticality of a vulnerability. This system offers an unbiased criticality
score between 0 and 10 that customers can use to judge how critical a
vulnerability is and plan accordingly. For more information, visit the CVSS
website at: https://www.first.org/cvss/ .

When calculating CVSS scores, McAfee has adopted a philosophy that fosters
consistency and repeatability. Our guiding principle for CVSS scoring is to
score the exploit under consideration by itself. We consider only the immediate
and direct impact of the exploit under consideration. We do not factor into a
score any potential follow-on exploits that might be made possible by the
successful exploitation of the issue being scored.

What are the CVSS scoring metrics

 1. CVE-2021-31839: Incorrect permissions on MA for Windows event folder
    +------------------------+--------------------+
    |Base Score              |4.8                 |
    +------------------------+--------------------+
    |Attack Vector (AV)      |Local (L)           |
    +------------------------+--------------------+
    |Attack Complexity (AC)  |Low (L)             |
    +------------------------+--------------------+
    |Privileges Required (PR)|Low (L)             |
    +------------------------+--------------------+
    |User Interaction (UI)   |Required (R)        |
    +------------------------+--------------------+
    |Scope (S)               |Unchanged (U)       |
    +------------------------+--------------------+
    |Confidentiality (C)     |Low (L)             |
    +------------------------+--------------------+
    |Integrity (I)           |Low (L)             |
    +------------------------+--------------------+
    |Availability (A)        |Low (L)             |
    +------------------------+--------------------+
    |Temporal Score (Overall)|4.3                 |
    +------------------------+--------------------+
    |Exploitability (E)      |Proof-of-Concept (P)|
    +------------------------+--------------------+
    |Remediation Level (RL)  |Official Fix (O)    |
    +------------------------+--------------------+
    |Report Confidence (RC)  |Confirmed (C)       |
    +------------------------+--------------------+

    NOTE: The below CVSS version 3.1 vector was used to generate this score.
    https://nvd.nist.gov/vuln-metrics/cvss/v3-calculatorvector=AV:L/AC:L/PR:L/
    UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C&version=3.1
 2. CVE-2021-31840: DLL preload vulnerability in MA for Windows
    +------------------------+--------------------+
    |Base Score              |7.3                 |
    +------------------------+--------------------+
    |Attack Vector (AV)      |Local (L)           |
    +------------------------+--------------------+
    |Attack Complexity (AC)  |Low (L)             |
    +------------------------+--------------------+
    |Privileges Required (PR)|Low (L)             |
    +------------------------+--------------------+
    |User Interaction (UI)   |Required (R)        |
    +------------------------+--------------------+
    |Scope (S)               |Unchanged (U)       |
    +------------------------+--------------------+
    |Confidentiality (C)     |High (H)            |
    +------------------------+--------------------+
    |Integrity (I)           |High (H)            |
    +------------------------+--------------------+
    |Availability (A)        |High (H)            |
    +------------------------+--------------------+
    |Temporal Score (Overall)|6.6                 |
    +------------------------+--------------------+
    |Exploitability (E)      |Proof-of-Concept (P)|
    +------------------------+--------------------+
    |Remediation Level (RL)  |Official Fix (O)    |
    +------------------------+--------------------+
    |Report Confidence (RC)  |Confirmed (C)       |
    +------------------------+--------------------+

    NOTE: The below CVSS version 3.1 vector was used to generate this score.
    https://nvd.nist.gov/vuln-metrics/cvss/v3-calculatorvector=AV:L/AC:L/PR:L/
    UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C&version=3.1

Where can I find a list of all Security Bulletins
All Security Bulletins are published on our external PSIRT website at https://
www.mcafee.com/us/threat-center/product-security-bulletins.aspx . To see
Security Bulletins for McAfee Enterprise products on this website click
Enterprise Security Bulletins . Security Bulletins are retired (removed) once a
product is both End of Sale and End of Support (End of Life).

How do I report a product vulnerability to McAfee
If you have information about a security issue or vulnerability with a McAfee
product, visit the McAfee PSIRT website for instructions at https://
www.mcafee.com/us/threat-center/product-security-bulletins.aspx . To report an
issue, click Report a Security Vulnerability .

How does McAfee respond to this and any other reported security flaws
Our key priority is the security of our customers. If a vulnerability is found
within any McAfee software or services, we work closely with the relevant
security software development team to ensure the rapid and effective
development of a fix and communication plan.

McAfee only publishes Security Bulletins if they include something actionable
such as a workaround, mitigation, version update, or hotfix. Otherwise, we
would simply be informing the hacker community that our products are a target,
putting our customers at greater risk. For products that are updated
automatically, a non-actionable Security Bulletin might be published to
acknowledge the discoverer.

View our PSIRT policy on the McAfee PSIRT website at https://www.mcafee.com/us/
threat-center/product-security-bulletins.aspx by clicking About PSIRT .
Resources
To contact Technical Support, log on to the ServicePortal and go to the Create
a Service Request page at https://support.mcafee.com/ServicePortal/faces/
serviceRequests/createSR :

  o If you are a registered user, type your User ID and Password, and then
    click Log In .
  o If you are not a registered user, click Register and complete the required
    fields. Your password and logon instructions will be emailed to you.

Disclaimer
The information provided in this Security Bulletin is provided as is without
warranty of any kind. McAfee disclaims all warranties, either express or
implied, including the warranties of merchantability and fitness for a
particular purpose. In no event shall McAfee or its suppliers be liable for any
damages whatsoever including direct, indirect, incidental, consequential, loss
of business profits or special damages, even if McAfee or its suppliers have
been advised of the possibility of such damages. Some states do not allow the
exclusion or limitation of liability for consequential or incidental damages so
the preceding limitation may not apply.

Any future product release dates mentioned in this Security Bulletin are
intended to outline our general product direction, and they should not be
relied on in making a purchasing decision. The product release dates are for
information purposes only, and may not be incorporated into any contract. The
product release dates are not a commitment, promise, or legal obligation to
deliver any material, code, or functionality. The development, release, and
timing of any features or functionality described for our products remains at
our sole discretion and may be changed or canceled at any time

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYMFQdONLKJtyKPYoAQirIg//fh/A3xdqIjX19nosK5sZmA+JhWNbZD2o
lIR4rRvZVXdOXhXAiADqisMT7foted61z99l0SW79S23AKsFVYSMTlkXY+Qcc862
W6yFbil8nAwsWBCMBKwyJUZF6c7pZQ+s8ftfUaWKM82iWDNbzc+xMcuRh5nCW30f
8lru/GydRCxIdi+UUd5rtE870Log8ImdtRLeZNKgrwDihA4ygKHiqAZEZF3gBNhZ
3AMNFByeJgDq+sPejhrjlEgJJqsz+JDHRo4lLZO72ruUw9PMatRKs+n1y5DbKSlB
SEBzL2LXOuurqdnSeke/pQUs9qIhDYn46K2D1DoIRQzhVsU9kvoILbZwqVirVYWt
L2XheE2gPM4ZNfXUTXoRh0QOllYEUED9a61K/DfFHSRKaoz1zxCMIgpYoolsFyzm
fmM4eS7AjynwsFQjLq8nVEUZFW/bNnRHO5y7j1xf916TVSwutE2tztcTIvL0QKjr
VlPb7dJkvuSSCqDOOgxxsJCgggWhpTqdNPOK8BHILuZXMN0L4YPDKl7pnyq1NOjs
Ju4dmv6RUcMlqfUh1R0YFL+ufp0gma6Xj6q8KLNTX3/MqNr8Arp0+nLpbB7n8VFO
WiR0YLK76mrDm6S70mHO+0KkQydrGLvv3OZZLqxT5UZA4i0efaQ/ReGGP3uU6PbZ
0raGN/ObJDE=
=RSHn
-----END PGP SIGNATURE-----