CVE-2020-28374 log

Source
Severity Medium
Remote No
Type Directory traversal
Description
In drivers/target/target_core_xcopy.c in the Linux kernel before 5.10.7, insufficient identifier checking in the LIO SCSI target code can be used by remote attackers to read or write files via directory traversal in an XCOPY request, aka CID-2896c93811e3. For example, an attack can occur over a network if the attacker has access to one iSCSI LUN. The attacker gains control over file access because I/O operations are proxied via an attacker-selected backstore.
Group Package Affected Fixed Severity Status Ticket
AVG-1445 linux-lts 5.4.88-1 5.4.89-1 Medium Fixed
AVG-1444 linux-zen 5.10.6.zen1-1 5.10.7.zen1-1 Medium Fixed
AVG-1443 linux-hardened 5.10.6.a-1 5.10.7.a-1 Medium Fixed
AVG-1442 linux 5.10.6.arch1-1 5.10.7.arch1-1 Medium Fixed
References
https://www.openwall.com/lists/oss-security/2021/01/12/12
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.7&id=6f1e88527c1869de08632efa2cc796e0131850dc
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.4.89&id=485e21729b1e1235e6075318225c09e76b376e81
Notes
Workaround
==========

The issue can be mitigated by disabling XCOPY support:

# echo 0 > /sys/kernel/config/target/core/<backstore>/<name>/attrib/emulate_3pc