CVE-2021-3042: Cortex XDR Agent: Improper Control of User-Controlled File Leads to Local Privilege Escalation

Published Jul 15, 2021
·
Updated

A local privilege escalation (PE) 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. Exploiting this vulnerability requires the user to have file creation privilege in the Windows root directory (such as C:\). This issue impacts: All versions of Cortex XDR agent 6.1 without content update 181 or a later version; All versions of Cortex XDR agent 7.2 without content update 181 or a later version; All versions of Cortex XDR agent 7.3 without content update 181 or a later version. Cortex XDR agent 5.0 versions are not impacted by this issue. Content updates are required to resolve this issue and are automatically applied for the agent.

Affected Software

12 affected components
Palo Alto Networks Cortex XDR Agent=6.1
Palo Alto Networks Cortex XDR Agent=7.2
Palo Alto Networks Cortex XDR Agent=7.2-content_update149
Palo Alto Networks Cortex XDR Agent=7.2-content_update150
Palo Alto Networks Cortex XDR Agent=7.3
Microsoft Windows
All of the following
Any of the following
Palo Alto Networks Cortex XDR Agent=6.1
Palo Alto Networks Cortex XDR Agent=7.2
Palo Alto Networks Cortex XDR Agent=7.2-content_update149
Palo Alto Networks Cortex XDR Agent=7.2-content_update150
Palo Alto Networks Cortex XDR Agent=7.3
Microsoft Windows

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Palo Alto Networks Cortex XDR agent (Windows) to a version that resolves this vulnerability.

    Fixed in 6.1
  2. Upgrade

    Upgrade Palo Alto Networks Cortex XDR agent (Windows) to a version that resolves this vulnerability.

    Fixed in 7.2
  3. Upgrade

    Upgrade Palo Alto Networks Cortex XDR agent (Windows) to a version that resolves this vulnerability.

    Fixed in 7.3
  4. Compensating control

    Limit authenticated local Windows users’ ability to create files in the Windows root directory (e.g., C:\), since exploitation requires file creation privilege in the root directory.

Event History

Jul 15, 2021
CVE Published
via MITRE·04:45 PM
Data Sourced
via MITRE·04:45 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-3042?

CVE-2021-3042 is a local privilege escalation vulnerability in the Palo Alto Networks Cortex XDR agent on Windows platforms.

2

How does CVE-2021-3042 affect Palo Alto Networks Cortex XDR agent?

CVE-2021-3042 allows an authenticated local Windows user to execute programs with SYSTEM privileges.

3

Which versions of Palo Alto Networks Cortex XDR agent are affected by CVE-2021-3042?

Palo Alto Networks Cortex XDR agent versions 6.1, 7.2, 7.2-content_update149, and 7.2-content_update150 are affected by CVE-2021-3042.

4

What is the severity of CVE-2021-3042?

CVE-2021-3042 has a severity rating of 7.8 (high).

5

How can CVE-2021-3042 be mitigated?

Apply the latest security update from Palo Alto Networks to fix CVE-2021-3042.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203