CVE-2019-25017

Source
https://cve.org/CVERecord?id=CVE-2019-25017
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-25017.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-25017
Downstream
Related
Published
2021-02-02T18:15:10.937Z
Modified
2026-04-16T04:30:48.876138631Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/krb5/krb5-appl

Affected ranges

Type
GIT
Repo
https://github.com/krb5/krb5-appl
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.3"
        }
    ]
}

Affected versions

krb5-appl-1.*
krb5-appl-1.0.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-25017.json"