Description
Ghidra before 12.0.4 contains a path traversal vulnerability in the theme import functionality that allows attackers to write files outside the intended theme directory. Attackers can craft malicious theme ZIP files with traversal sequences in filenames to execute arbitrary code or modify sensitive files like .bashrc or .ssh/authorized_keys.
Problem types
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before 12.0.4
12.0.4 (semver)
Credits
@PrasanthSundararajan69
References
github.com/...ghidra/security/advisories/GHSA-3r55-xjr4-jh8f
github.com/...ghidra/security/advisories/GHSA-3r55-xjr4-jh8f (GitHub Security Advisory (GHSA-3r55-xjr4-jh8f))
www.vulncheck.com/...-traversal-via-zip-slip-in-theme-import