CVE-2019-13623
HIGHNSA Ghidra < 9.1 - Path Traversal and Arbitrary File Write via Archive Filename
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2019-13623. PoCs published by Etienne Lacoche.
AI-analyzed exploit summary This exploit leverages CVE-2019-13623 in Ghidra by replacing the decompile binary with a malicious script that establishes a reverse shell. The exploit packages the binary into a .gar file, which when restored in Ghidra, executes the payload.
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.
Exploits (1)
This exploit leverages CVE-2019-13623 in Ghidra by replacing the decompile binary with a malicious script that establishes a reverse shell. The exploit packages the binary into a .gar file, which when restored in Ghidra, executes the payload.
References (4)
Scores
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H