7.8high
In NSA Ghidra before 9.1, path traversal can occur in RestoreTask.java (from the package ghidra.app.plugin.core.archive) via an archive wit…
- Severity
- 7.8high CVSS:3.0 by NVD
- Exploit likelihood
- 4.96% (higher than 92% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| nsa ghidra | up to 9.0.4 | NVD |
All scores
| NVD | 7.8high CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
En Ghidra en versiones anteriores a la 9.1 de NSA, puede ocurrir un salto de ruta (path) en el archivo RestoreTask.java (desde el paquete ghidra.app.plugin.core.archive) por medio de un archivo con un archivo ejecutable que tiene una inicial ../ en su nombre de archivo. Esto permite a los atacantes sobrescribir archivos arbitrarios en escenarios donde es archivado un resultado de análisis intermedio para compartir con otras personas. Para lograr la ejecución de código arbitrario, un forma de abordar es sobrescribir algunos módulos críticos de Ghidra, por ejemplo, el módulo decompile.
References
| https://github.com/NationalSecurityAgency/ghidra/issues/789 | exploit, 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 | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2019-13623 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2019-13623 changed 2026-06-17 | Public domain |