UBUNTU-CVE-2019-7282: Medium severity ubuntu/netkit-rsh vulnerability
In NetKit through 0.17, rcp.c in the rcp client allows remote rsh servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side. This is similar to CVE-2018-20685.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/netkit-rshto a version that resolves this vulnerability.Fixed in 0.17-15ubuntu0.16.04.1~esm1 - Upgrade
Upgrade
ubuntu/netkit-rshto a version that resolves this vulnerability.Fixed in 0.17-17ubuntu0.1
Event History
Frequently Asked Questions
Who can exploit this issue?
A remote rsh server can exploit it against a client using the affected rcp client. No authentication or user interaction is required according to the supplied vector, but exploitation has high attack complexity.
What can an attacker change on the client?
By using a filename of "." or an empty filename, the remote server can bypass intended access restrictions and modify permissions on the target directory on the client side.
How can I identify potentially affected activity?
Review use of the NetKit rcp client with remote rsh servers, particularly transfers targeting directories. The relevant suspicious server-supplied filenames are "." and empty filenames.