The get_rpm_nvr_by_file_path_temporary function in util.py in setroubleshoot before 3.2.22 allows remote attackers to execute arbitrary commands via shell metacharacters in a file name.
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 |
---|---|---|---|
Setroubleshoot | Selinux | * | 3.2.21 (including) |
Red Hat Enterprise Linux 5 | RedHat | setroubleshoot-0:2.0.5-7.el5_11 | * |
Red Hat Enterprise Linux 6 | RedHat | setroubleshoot-0:3.0.47-6.el6_6.1 | * |
Red Hat Enterprise Linux 7 | RedHat | setroubleshoot-0:3.2.17-4.1.el7_1 | * |
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | RedHat | setroubleshoot-0:3.2.17-4.1.el7_1 | * |
Sepolgen | Ubuntu | artful | * |
Sepolgen | Ubuntu | lucid | * |
Sepolgen | Ubuntu | precise | * |
Sepolgen | Ubuntu | utopic | * |
Sepolgen | Ubuntu | vivid | * |
Sepolgen | Ubuntu | wily | * |
Sepolgen | Ubuntu | yakkety | * |
Sepolgen | Ubuntu | zesty | * |
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.