Snyk Fetch the Flag CTF 2023 writeup: Off the SETUID
ID: cac7ea4f-2c78-5892-a774-ff66a95acc28
STIX ID: report--cac7ea4f-2c78-5892-a774-ff66a95acc28
Feed Name: Snyk Blog
Threat Score
This write-up for the "Off the SETUID" CTF challenge explains a kernel-level logic bug in a custom fun_setuid syscall that can commit a NULL/controlled credentials pointer, enabling local privilege escalation. The author details mapping address 0 (mmap_min_addr=0), placing a fake struct cred for root, invoking the syscall to adopt those credentials, and delivering the exploit from a PHP web process using a fileless memexec technique.
Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.
