OS Command Injection in rssh - CVE-2019-1000018

 

OS Command Injection in rssh - CVE-2019-1000018

Published: January 31, 2019


Vulnerability identifier: #VU17336
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-1000018
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper validation in the scp support. A remote unauthenticated attacker can perform only scp, sftp, cvs, svnserve (Subversion), rdist and/or rsync operations and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

rssh
Gentoo Linux
Amazon Linux AMI
Fedora
rssh (Debian package)
rssh (Ubuntu package)
rssh

How to mitigate CVE-2019-1000018

Install updates from vendor's website.

rssh (Debian package) - update to 2.3.4-5+deb9u1
rssh (Ubuntu package) - addressed in versions 2.3.4-4+deb8u2ubuntu0.14.04.2, 2.3.4-4+deb8u2ubuntu0.16.04.2, 2.3.4-7ubuntu0.1, 2.3.4-8ubuntu0.2
rssh - addressed in versions 2.3.4-15.el6, 2.3.4-15.el7, 2.3.4-15.fc29, 2.3.4-15.fc30, 2.3.4-15.fc31

External References

Related Security Bulletins