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.0: 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/E:U/U:Amber
CVE-ID: CVE-2019-16718
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Radare
Affected software:
radare2

Detailed vulnerability description

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.


How to mitigate CVE-2019-16718

Install update from vendor's website.

Sources