PT-2021-9085 · Git+19 · Krb5-Appl+5

Karol Babioch

·

Published

2021-02-02

·

Updated

2021-07-21

·

CVE-2019-25017

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
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 (CVE-2019-25017).
In the rcp client in MIT krb5-appl through 1.0.3 malicious servers could bypass intended access restrictions via the filename of . or an empty filename, similar to CVE-2018-20685 and CVE-2019-7282. The impact is modifying the permissions of the target directory on the client side (CVE-2019-25018).

Exploit

Fix

Incorrect Authorization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2019-25017
MGASA-2021-0196
SUSE-SU-2021:0527-1
SUSE-SU-2021_0527-1

Affected Products

Krb5-Appl
Krb5-Appl-Clients
Krb5-Appl-Clients-Debuginfo
Krb5-Appl-Debugsource
Krb5-Appl-Servers
Krb5-Appl-Servers-Debuginfo