Description
radare2 prior to 6.1.4 contains a path traversal vulnerability in project deletion that allows local attackers to recursively delete arbitrary directories by supplying absolute paths that escape the configured dir.projects root directory. Attackers can craft absolute paths to project marker files outside the project storage boundary to cause recursive deletion of attacker-chosen directories with permissions of the radare2 process, resulting in integrity and availability loss.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version before e5fcf56fe038760c872c6dbed432602778fde1ed git
Any version before 6.1.4
Credits
Chia Min Jun Lennon
References
github.com/radareorg/radare2/pull/25830 (Pull Request)
github.com/radareorg/radare2/pull/25830/commits (Patch Commit)
www.vulncheck.com/...etion-path-traversal-directory-deletion