CVE-2019-13623
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (4.96%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.0
- 7.8 HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 4.96% probability · 92th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- nsa/ghidra
- Source
- cve@mitre.org
References
- http://blog.fxiao.me/ghidra/Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/154015/Ghidra-Linux-9.0.4-Arbitrary-Code-Execution.html
- https://ghidra-sre.org/releaseNotes_9.1_final.html
- https://github.com/NationalSecurityAgency/ghidra/issues/789Exploit, Third Party Advisory
- http://blog.fxiao.me/ghidra/Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/154015/Ghidra-Linux-9.0.4-Arbitrary-Code-Execution.html
- https://ghidra-sre.org/releaseNotes_9.1_final.html
- https://github.com/NationalSecurityAgency/ghidra/issues/789Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.