The allow_execmod plugin for setroubleshoot before 3.2.23 allows local users to execute arbitrary commands by triggering an execmod SELinux denial with a crafted binary filename, related to the commands.getstatusoutput function.
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 | Setroubleshoot_project | * | 3.2.22 (including) |
Red Hat Enterprise Linux 6 | RedHat | setroubleshoot-0:3.0.47-12.el6_8 | * |
Red Hat Enterprise Linux 6 | RedHat | setroubleshoot-plugins-0:3.0.40-3.1.el6_8 | * |
Red Hat Enterprise Linux 7 | RedHat | setroubleshoot-0:3.2.24-4.el7_2 | * |
Red Hat Enterprise Linux 7 | RedHat | setroubleshoot-plugins-0:3.0.59-2.el7_2 | * |
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.