CVE-2019-13623 Path traversal in n/a

High 7.8 Published Updated

Attackers can overwrite arbitrary files via path traversal in archived analysis results, potentially leading to arbitrary code execution in Ghidra.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2019-13623?

CVE-2019-13623 is a high-severity path traversal vulnerability in n/a, published on 17 Jul 2019. 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

In NSA Ghidra before 9.1, path traversal can occur in RestoreTask.java (from the package ghidra.app.plugin.core.archive) via an archive with an executable file that has an initial ../ in its filename. This allows attackers to overwrite arbitrary files in scenarios where an intermediate analysis result is archived for sharing with other persons. To achieve arbitrary code execution, one approach is to overwrite some critical Ghidra modules, e.g., the decompile module.

Weakness: CWE-22

Which versions are affected by CVE-2019-13623?

It affects 1 product.

Products include Nsa Ghidra.

How do I fix CVE-2019-13623?

No fix has been published for CVE-2019-13623 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-2019-13623 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-13623 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-rj42-87j6-hq79.

Is CVE-2019-13623 in your software?

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

Check your SBOMs for free