A flaw was found in SSSD, where the sssctl command was vulnerable to shell command injection via the logs-fetch and cache-expire subcommands. This flaw allows an attacker to trick the root user into running a specially crafted sssctl command, such as via sudo, to gain root access. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
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 |
---|---|---|---|
Sssd | Fedoraproject | 2.6.0 (including) | 2.6.0 (including) |
Red Hat Enterprise Linux 7 | RedHat | sssd-0:1.16.5-10.el7_9.10 | * |
Red Hat Enterprise Linux 8 | RedHat | sssd-0:2.4.0-9.el8_4.2 | * |
Red Hat Enterprise Linux 8.1 Extended Update Support | RedHat | sssd-0:2.2.0-19.el8_1.2 | * |
Red Hat Enterprise Linux 8.2 Extended Update Support | RedHat | sssd-0:2.2.3-20.el8_2.1 | * |
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | RedHat | redhat-virtualization-host-0:4.3.18-20210903.0.el7_9 | * |
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | RedHat | redhat-virtualization-host-0:4.4.7-20210804.0.el8_4 | * |
Sssd | Ubuntu | bionic | * |
Sssd | Ubuntu | devel | * |
Sssd | Ubuntu | focal | * |
Sssd | Ubuntu | hirsute | * |
Sssd | Ubuntu | impish | * |
Sssd | Ubuntu | jammy | * |
Sssd | Ubuntu | trusty | * |
Sssd | 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.