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-2023-1521

Description

On Linux the sccache client can execute arbitrary code with the privileges of a local sccache server, by preloading the code in a shared library passed to LD_PRELOAD.If the server is run as root (which is the default when installing the snap package https://snapcraft.io/sccache ), this means a user running the sccache client can get root privileges.

POC

Reference

- https://securitylab.github.com/advisories/GHSL-2023-046_ScCache

Github

- https://github.com/nomi-sec/PoC-in-GitHub

- https://github.com/rubbxalc/CVE-2023-1521