OS Command Injection in radare2 - CVE-2019-16718

 

OS Command Injection in radare2 - CVE-2019-16718

Published: September 23, 2019 / Updated: August 8, 2020


Vulnerability identifier: #VU35483
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-16718
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

In radare2 before 3.9.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 an insufficient fix for CVE-2019-14745 and improper handling of symbol names embedded in executables.


Affected software

radare2
Fedora
radare2

How to mitigate CVE-2019-16718

Install update from vendor's website.

radare2 - update to 3.9.0
radare2 - update to 4.2.1-1.el7

External References

Related Security Bulletins