Command Injection in radare2 - CVE-2019-14745

 

Command Injection in radare2 - CVE-2019-14745

Published: August 7, 2019 / Updated: August 3, 2020


Vulnerability identifier: #VU33002
CSH Severity: Low
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-14745
CWE-ID: CWE-77
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local non-authenticated attacker to execute arbitrary code.

In radare2 before 3.7.0, a command injection vulnerability exists in bin_symbols() in libr/core/cbin.c. By using a crafted executable file, it's possible to execute arbitrary shell commands with the permissions of the victim. This vulnerability is due to improper handling of symbol names embedded in executables.


Affected software

radare2
radare2 (Alpine package)
cutter-re
radare2
Fedora

How to mitigate CVE-2019-14745

Install update from vendor's website.

radare2 - update to 3.7.0
radare2 (Alpine package) - update to 3.9.0-r0
cutter-re - addressed in versions 1.9.0-1.fc30, 1.9.0-1.fc31
radare2 - addressed in versions 3.9.0-1.el7.1, 3.9.0-1.fc29.1, 3.9.0-1.fc30.1, 3.9.0-1.fc31.1, 3.9.0-3.el7.1, 3.9.0-3.fc29.1

External References

Related Security Bulletins