CVE-2022-0014 Cortex XDR Agent: Unintended Program Execution When Using Live Terminal Session

Medium 6.7 Published Updated

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.

Sources

Also known as GHSA-g6g5-57j8-8359.

Is CVE-2022-0014 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free