OpenSSH < 3.6.2 Reverse DNS Lookup Bypass

high Nessus Network Monitor Plugin ID 701171

Synopsis

The remote OpenSSH server is affected by a DNS lookup bypass vulnerability.

Description

According to its banner, the remote host appears to be running OpenSSH-portable version 3.6.1 or older and is affected by a flaw in such version that could allow an attacker to bypass the access controls set by the administrator of this server.

OpenSSH features a mechanism that can restrict the list of hosts a given user can log from by specifying a pattern in the user key file (ie: *.mynetwork.com would let a user connect only from the local network).

However there is a flaw in the way OpenSSH does reverse DNS lookups. If an attacker configures a DNS server to send a numeric IP address when a reverse lookup is performed, this mechanism could be circumvented.

Solution

Upgrade to OpenSSH version 3.6.2 or later.

See Also

http://www.securityfocus.com/bid/7831

Plugin Details

Severity: High

ID: 701171

Family: SSH

Published: 8/21/2019

Updated: 8/21/2019

Nessus ID: 11712

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.4

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

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

Vulnerability Information

CPE: cpe:/a:openbsd:openssh

Patch Publication Date: 6/5/2003

Vulnerability Publication Date: 6/5/2003

Reference Information

CVE: CVE-2003-0386

BID: 7831