OpenSSH 6.2 < 8.8

high Nessus Plugin ID 154174

Synopsis

The SSH server running on the remote host is affected by a privilege escalation vulnerability.

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.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to OpenSSH version 8.8 or later.

See Also

https://www.openwall.com/lists/oss-security/2021/09/26/1

https://www.openssh.com/txt/release-8.8

Plugin Details

Severity: High

ID: 154174

File Name: openssh_88.nasl

Version: 1.4

Type: remote

Family: Misc.

Published: 10/15/2021

Updated: 3/27/2024

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.3

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-41617

CVSS v3

Risk Factor: High

Base Score: 7

Temporal Score: 6.1

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:openbsd:openssh

Required KB Items: installed_sw/OpenSSH, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 9/26/2021

Vulnerability Publication Date: 9/26/2021

Reference Information

CVE: CVE-2021-41617

IAVA: 2021-A-0474-S