Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2020-24394

Description

In the Linux kernel before 5.7.8, fs/nfsd/vfs.c (in the NFS server) can set incorrect permissions on new filesystem objects when the filesystem lacks ACL support, aka CID-22cf8419f131. This occurs because the current umask is not considered.

POC

Reference

- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.7.8

- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=22cf8419f1319ff87ec759d0ebdff4cbafaee832

- https://www.oracle.com/security-alerts/cpuApr2021.html

Github

- https://github.com/ARPSyndicate/cvemon

- https://github.com/Live-Hack-CVE/CVE-2020-24394