First published: Tue Feb 02 2021(Updated: )
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 but is shipped by a few Linux distributions. The affected code was removed from the supported MIT Kerberos 5 (aka krb5) product many years ago, at version 1.8.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
MIT krb5-appl | <=1.0.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-25017 is a vulnerability in the rcp implementation in MIT krb5-appl through version 1.0.3.
The severity of CVE-2019-25017 is medium, with a severity value of 5.9.
CVE-2019-25017 affects MIT krb5-appl versions up to and including 1.0.3.
CVE-2019-25017 is classified under CWE-863.
Yes, a fix is available for CVE-2019-25017. It is recommended to update to a version of MIT krb5-appl that is not affected by the vulnerability.