CVE-2021-3042: Palo Alto Networks Cortex XDR - Privilege Escalation
- Cve: CVE-2021-3042
- Name: Palo Alto Networks Cortex XDR - Privilege Escalation
- Description: 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.
- Impact: Authenticated local users can execute arbitrary programs with SYSTEM privileges, leading to full system compromise.
- Remediation: Apply the latest content updates for Cortex XDR agent versions 6.1, 7.2, and 7.3, which are automatically distributed.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker must have file creation privilege in Windows root directory
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00248
- Epss percentile: 0.16056
- Assignee: [email protected]
- Published at: 2021-07-15T17:15:08Z
- Age in days: 1958
- Modified at: 2026-06-17T04:04:36Z
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3042
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-427 | Uncontrolled Search Path Element |
References
| Url | Source | Tags |
|---|---|---|
| https://security.paloaltonetworks.com/CVE-2021-3042 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| paloaltonetworks:cortex_xdr_agent | = 7.2 content_update150, = 7.2 content_update149, = 7.3, = 7.2, = 6.1 | yes | nvd | /v1/products/paloaltonetworks/cortex_xdr_agent |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts