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

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

                               ESB-2021.2056
            CVE-2021-3041 Cortex XDR Agent: Improper control of
         user-controlled file leads to local privilege escalation
                               10 June 2021

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

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

Product:           Cortex XDR Agent
Publisher:         Palo Alto
Operating System:  Windows
Impact/Access:     Increased Privileges -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-3041  

Original Bulletin: 
   https://securityadvisories.paloaltonetworks.com/CVE-2021-3041

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

Palo Alto Networks Security Advisories / CVE-2021-3041

CVE-2021-3041 Cortex XDR Agent: Improper control of user-controlled file leads
to local privilege escalation

047910
Severity 7.8 . HIGH
Attack Vector LOCAL
Attack Complexity LOW
Privileges Required LOW
User Interaction NONE
Scope UNCHANGED
Confidentiality Impact HIGH
Integrity Impact HIGH
Availability Impact HIGH
NVD JSON     
Published 2021-06-09
Updated 2021-06-09
Reference CPATR-12634, CPATR-12507 and CPATR-11927
Discovered internally

Description

A local privilege escalation vulnerability exists in the Palo Alto Networks
Cortex XDR agent on Windows platforms that enables an authenticated local
Windows user to execute programs with SYSTEM privileges.

This requires the user to have the privilege to create files in the Windows
root directory or to manipulate key registry values.

This issue impacts:

Cortex XDR agent 5.0 versions earlier than Cortex XDR agent 5.0.11;

Cortex XDR agent 6.1 versions earlier than Cortex XDR agent 6.1.8;

Cortex XDR agent 7.2 versions earlier than Cortex XDR agent 7.2.3;

All versions of Cortex XDR agent 7.2 without content update release 171 or a
later version.

Product Status

   Versions                Affected                        Unaffected
Cortex XDR     < 7.2.3 or without content update >= 7.2.3 with content update
Agent 7.2      171 or later                      171 or later
Cortex XDR     < 6.1.8                           >= 6.1.8
Agent 6.1
Cortex XDR     < 5.0.11                          >= 5.0.11
Agent 5.0

Severity: HIGH

CVSSv3.1 Base Score: 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)

Exploitation Status

Palo Alto Networks is not aware of any malicious exploitation of this issue.

Weakness Type

CWE-427 Uncontrolled Search Path Element

Solution

This issue is fixed in Cortex XDR agent 5.0.11, Cortex XDR agent 6.1.8, Cortex
XDR agent 7.2.3, and all later Cortex XDR agent versions.

Content updates are required to resolve this issue and are automatically
applied for the agent.

Workarounds and Mitigations

This issue is mitigated by preventing local authenticated Windows users from
creating files in the Windows root directory (such as C:\) and ensuring they
are unable to manipulate the Windows registry.

Acknowledgments

This issue was found by Robert McCallum of Palo Alto Networks during internal
security review.

Timeline

2021-06-09 Initial publication
Terms of usePrivacyProduct Security Assurance and Vulnerability Disclosure
Policy Report vulnerabilitiesManage subscriptions
(C) 2020 Palo Alto Networks, Inc. All rights reserved.

- --------------------------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

iQIVAwUBYMFQUONLKJtyKPYoAQhfnBAAiuQCID/10ZqW8hO3PfR8mrp4UW0qhv7E
fKt2zs/8eo3jTCJwrGGhtuBSagCnZ67rHFhu+ZTL+6D2+XUNMk2JLfsU+iE7e6d7
AGcc6GJzihmXykvrzkkSbW+kRPOoi+OqWArGNa/lCgK3XGZMjKRfTYQdKKSzp1w8
DGTy9uus9/QcoquW2vKmVs+1BgIUg1fw9CJcLfSUmRwtvcfYsHO8Obrr/COVAFkw
Xxh/jmwL6CO6RxfyhzvO81yum5cyx+d0xqq57WebdwwczIoRZAHscq0GAs8thydQ
lJIAFSIK2A8pZQkyzudANCtAnQEuFzWhXS6GE3et+x5FmULKWkfF/gZnNxwm9SP4
P+PR4xkjTq/DU/4tuyZ3Z6Qo3EFc4HL71zFcXTF+CFQ+BOlqd7hJpLSHyvfH3QWM
2URTo5bGDjFRFBMPAOeNgcdMEaIR2hG0FSPsgiFoYrcAUc1q6JDZFAhUixxX7DW1
V8G4mbPLmXhmGsp7WCXnJVz/8/Wa0CF2m0Ewv6WwqC2ehw+p1qjsg0Jo+ZYb8TKE
OL1z0gzM7K9pKfVCXSOOZwSO3JdNukZMHyaF3cUWH2ou9oToLFefnloW6hLHAiRq
0RIRqSkUdFc/17IxKzTzxpmH6gn7AbyBnBwCKj829SCsEGxJ1bCZVbvbR4upQmjm
KhBfBKYjZwU=
=OUma
-----END PGP SIGNATURE-----