Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2021-41617: privilege escalation when AuthorizedKeysCommand or AuthorizedPrincipalsCommand are configured (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat: CVE-2021-41617: privilege escalation when AuthorizedKeysCommand or AuthorizedPrincipalsCommand are configured (Multiple Advisories)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
09/26/2021
Created
11/25/2021
Added
11/24/2021
Modified
12/15/2023

Description

sshd in OpenSSH 6.2 through 8.x before 8.8, when certain non-default configurations are used, allows privilege escalation because supplemental groups are not initialized as expected. Helper programs for AuthorizedKeysCommand and AuthorizedPrincipalsCommand may run with privileges associated with group memberships of the sshd process, if the configuration specifies running the command as a different user.

Solution(s)

  • redhat-upgrade-openssh
  • redhat-upgrade-openssh-askpass
  • redhat-upgrade-openssh-askpass-debuginfo
  • redhat-upgrade-openssh-cavs
  • redhat-upgrade-openssh-cavs-debuginfo
  • redhat-upgrade-openssh-clients
  • redhat-upgrade-openssh-clients-debuginfo
  • redhat-upgrade-openssh-debuginfo
  • redhat-upgrade-openssh-debugsource
  • redhat-upgrade-openssh-keycat
  • redhat-upgrade-openssh-keycat-debuginfo
  • redhat-upgrade-openssh-ldap
  • redhat-upgrade-openssh-ldap-debuginfo
  • redhat-upgrade-openssh-server
  • redhat-upgrade-openssh-server-debuginfo
  • redhat-upgrade-openssh-server-sysvinit
  • redhat-upgrade-pam_ssh_agent_auth
  • redhat-upgrade-pam_ssh_agent_auth-debuginfo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;