title: Cortex XDR Agent: Improper control of user-controlled file leads to local privilege escalation
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.
problem types: CWE-427 Uncontrolled Search Path Element
affected:
{
product: Cortex XDR Agent
vendor: Palo Alto Networks
versions:
changes: [at: 5.0.11, status: unaffected], lessThan: 5.0.11, status: affected, version: 5.0, versionType: custom
changes: [at: 6.1.8, status: unaffected], lessThan: 6.1.8, status: affected, version: 6.1, versionType: custom
changes: [at: 7.2.3 with content update 171 or later, status: unaffected], lessThan: 7.2.3 or without content update 171 or later, status: affected, version: 7.2, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: HIGH
baseScore: 7.8
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
version: 3.1
]
exploits: Palo Alto Networks is not aware of any malicious exploitation of this issue.
solutions: 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: 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.