Bug 1927418 (CVE-2019-25017) - CVE-2019-25017 krb5-appl: Improper validation of object names allows malicious server to overwrite files via rcp client
Summary: CVE-2019-25017 krb5-appl: Improper validation of object names allows maliciou...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2019-25017
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1927427
TreeView+ depends on / blocked
 
Reported: 2021-02-10 17:06 UTC by Michael Kaplan
Modified: 2021-02-10 22:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-10 22:09:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2021-02-10 17:06:53 UTC
An issue was discovered in rcp in MIT krb5-appl through 1.0.3. Due to the rcp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the rcp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious rcp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the rcp 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). This issue is similar to CVE-2019-6111 and CVE-2019-7283. NOTE: MIT krb5-appl is not supported upstream. The affected code was removed from the supported MIT Kerberos 5 (aka krb5) product many years ago, at version 1.8.

Comment 1 Michael Kaplan 2021-02-10 17:06:57 UTC
External References:

https://bugzilla.suse.com/show_bug.cgi?id=1131109

Comment 2 Product Security DevOps Team 2021-02-10 22:09:53 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-25017


Note You need to log in before you can comment on or make changes to this bug.