Bug 2070875 (CVE-2019-7283)

Summary: CVE-2019-7283 netkit-rsh: possible overwrite of arbitrary files by a malicious rsh server
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: luhliari, mruprich, msekleta, vonsch
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in rsh. The vulnerability occurs due to a possible overwrite of arbitrary files by a malicious rsh server. This flaw allows an attacker or a malicious rsh server (or a Man-in-The-Middle attacker) to overwrite arbitrary files in a directory on the rcp client machine.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-01 11:56:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2070876, 2070877    
Bug Blocks: 2065724    

Description Marian Rehak 2022-04-01 09:22:45 UTC
An issue was discovered in rcp in NetKit through 0.17. For an rcp operation, the server chooses which files/directories are sent to the client. However, the rcp client only performs cursory validation of the object name returned. A malicious rsh server (or Man-in-The-Middle attacker) can overwrite arbitrary files in a directory on the rcp client machine.

Reference:

https://bugs.debian.org/920486
https://lists.debian.org/debian-lts-announce/2021/11/msg00016.html
https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt

Comment 1 Marian Rehak 2022-04-01 09:23:05 UTC
Created rsh tracking bugs for this issue:

Affects: epel-all [bug 2070876]
Affects: fedora-all [bug 2070877]

Comment 2 Product Security DevOps Team 2022-04-01 11:56:15 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-7283