CVE-2021-3042
Cortex XDR Agent: Improper Control of User-Controlled File Leads to Local 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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.2% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-427 Uncontrolled Search Path Element
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Cortex XDR Agent |
unaffected 5.0 all
|
| Cortex XDR Agent |
affected 6.1.* without content update 181 or later unaffected 6.1.* with content update 181 or later affected 7.2.* without content update 181 or later
|
| Cortex XDR Agent |
unaffected 7.2.* with content update 181 or later unaffected 7.3.* with content update 181 or later affected 7.3.* without content update 181 or later
|
Is my server affected?
This CVE is in Cortex XDR Agent of Palo Alto Networks, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://security.paloaltonetworks.com/CVE-2021-3042 security.paloaltonetworks.com
Source: the record CVE-2021-3042 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse