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, its 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.
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Radare2 | Radare | * | 3.7.0 (excluding) |
Radare2 | Ubuntu | bionic | * |
Radare2 | Ubuntu | disco | * |
Radare2 | Ubuntu | eoan | * |
Radare2 | Ubuntu | esm-apps/bionic | * |
Radare2 | Ubuntu | esm-apps/focal | * |
Radare2 | Ubuntu | esm-apps/xenial | * |
Radare2 | Ubuntu | focal | * |
Radare2 | Ubuntu | groovy | * |
Radare2 | Ubuntu | lunar | * |
Radare2 | Ubuntu | mantic | * |
Radare2 | Ubuntu | trusty | * |
Radare2 | Ubuntu | xenial | * |
Command injection vulnerabilities typically occur when:
Many protocols and products have their own custom command language. While OS or shell command strings are frequently discovered and targeted, developers may not realize that these other command languages might also be vulnerable to attacks. Command injection is a common problem with wrapper programs.