Bug 2065721 (CVE-2019-7282)

Summary: CVE-2019-7282 netkit-rsh: rcp access restriction bypass
Product: [Other] Security Response Reporter: Patrick Del Bello <pdelbell>
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 bypass restrictions via the filename of [.] or an empty filename. This flaw allows an attacker to modify the permissions of the target directory on the client-side.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-01 11:25:29 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: 2065722, 2065723    
Bug Blocks: 2065724    

Description Patrick Del Bello 2022-03-18 15:03:01 UTC
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.

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 Patrick Del Bello 2022-03-18 15:03:19 UTC
Created rsh tracking bugs for this issue:

Affects: epel-all [bug 2065722]
Affects: fedora-all [bug 2065723]

Comment 2 Product Security DevOps Team 2022-04-01 11:25:27 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-7282