CVE-2022-0014 Cortex XDR Agent: Unintended Program Execution When Using Live Terminal Session
Local attackers can execute arbitrary code by placing malicious programs in the Windows root directory, exploiting untrusted search paths in Live Terminal sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-0014?
CVE-2022-0014 is a medium-severity path traversal vulnerability in Palo Alto Networks Cortex XDR Agent, published on 12 Jan 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
An untrusted search path vulnerability exists in the Palo Alto Networks Cortex XDR agent that enables a local attacker with file creation privilege in the Windows root directory (such as C:\) to store a program that can then be unintentionally executed by another local user when that user utilizes a Live Terminal session. This issue impacts: Cortex XDR agent 5.0 versions earlier than Cortex XDR agent 5.0.12; Cortex XDR agent 6.1 versions earlier than Cortex XDR agent 6.1.9; Cortex XDR agent 7.2 versions earlier than Cortex XDR agent 7.2.4; Cortex XDR agent 7.3 versions earlier than Cortex XDR agent 7.3.2.
Weakness: CWE-426
Which versions are affected by CVE-2022-0014?
It affects 1 product.
Products include Paloaltonetworks Cortex Xdr Agent.
How do I fix CVE-2022-0014?
No fix has been published for CVE-2022-0014 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-0014 being exploited?
There is no known exploitation of CVE-2022-0014 in the wild and no public exploit code.
Other vulnerabilities in Palo Alto Networks Cortex XDR Agent
- CVE-2022-0015 Cortex XDR Agent: An Uncontrolled Search Path Element Leads to Local Privilege Escalation (PE) Vulnerability
- CVE-2021-3042 Cortex XDR Agent: Improper Control of User-Controlled File Leads to Local Privilege Escalation
- CVE-2021-3041 Cortex XDR Agent: Improper control of user-controlled file leads to local privilege escalation
- CVE-2020-2049 Cortex XDR Agent: Improper control of loaded DLL leads to local privilege escalation
- CVE-2024-5909 Cortex XDR Agent: Local Windows User Can Disable the Agent
Sources
Also known as GHSA-g6g5-57j8-8359.