CVE-2020-28374 - log back

CVE-2020-28374 edited at 13 Jan 2021 11:00:20
Type
- Arbitrary filesystem access
+ Directory traversal
Description
- A security issue was discovered in the Linux kernel since version 3.12. An attacker with access to a LUN and knowledge of Unit Serial Number assignments can read and write to any LIO backstore, regardless of SCSI transport settings. The issue is fixed in version 5.10.7 and 5.4.89.
+ 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.
CVE-2020-28374 edited at 12 Jan 2021 20:26:35
Severity
- Unknown
+ Medium
Remote
- Unknown
+ Local
Type
- Unknown
+ Arbitrary filesystem access
Description
+ A security issue was discovered in the Linux kernel since version 3.12. An attacker with access to a LUN and knowledge of Unit Serial Number assignments can read and write to any LIO backstore, regardless of SCSI transport settings. The issue is fixed in version 5.10.7 and 5.4.89.
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
CVE-2020-28374 created at 12 Jan 2021 20:20:29