CVE-2019-6111

Scores

EPSS

0.544medium54.4%
0%20%40%60%80%100%

Percentile: 54.4%

CVSS

5.3medium3.x
0246810

CVSS Score: 5.3/10

All CVSS Scores

CVSS 3.x
5.3

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

CVSS 2.0
5.8

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

Description

An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file).

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

astradebiannvdredhatubuntu

CWEs

CWE-20CWE-22

Related Vulnerabilities

Exploits

Exploit ID: 46193

Source: exploitdb

URL: https://www.exploit-db.com/exploits/46193

Exploit ID: 46516

Source: exploitdb

URL: https://www.exploit-db.com/exploits/46516

Recommendations

Source: nvd

All OpenSSH users should upgrade to the latest version:
# emerge –sync
# emerge –ask –oneshot –verbose “>=net-misc/openssh-7.9_p1-r4”

URL: https://security.gentoo.org/glsa/201903-16

Source: nvd

For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
After installing this update, the OpenSSH server daemon (sshd) will be restarted automatically.

URL: https://access.redhat.com/errata/RHSA-2019:3702

Vulnerable Software (59)

Type: Configuration

Product: openssh

Operating System: rhel

Trait:
{  "fixed": "8.0p1-3.el8"}

Source: redhat

Type: Configuration

Product: openssh

Operating System: rhel 8

Trait:
{  "fixed": "8.0p1-3.el8"}

Source: redhat

Type: Configuration

Product: openssh

Operating System: ubuntu bionic 18.04

Trait:
{  "fixed": "1:7.6p1-4ubuntu0.3"}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu cosmic 18.10

Trait:
{  "fixed": "1:7.7p1-4ubuntu0.3"}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu disco 19.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu eoan 19.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu focal 20.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu groovy 20.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu hirsute 21.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu impish 21.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu jammy 22.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu kinetic 22.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu lunar 23.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu mantic 23.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu noble 24.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu oracular 24.10

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu trusty 14.04

Trait:
{  "fixed": "1:6.6p1-2ubuntu2.13"}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: ubuntu xenial 16.04

Trait:
{  "fixed": "1:7.2p2-4ubuntu2.8"}

Source: ubuntu

Type: Configuration

Product: openssh

Operating System: astra 1.6.3

Trait:
{  "unaffected": true}

Source: astra

Type: Configuration

Product: openssh

Operating System: debian

Trait:
{  "fixed": "1:7.9p1-9"}

Source: debian