Coursework · CTF
picoCTF Trickster
Bypassed an upload filter with a PNG/PHP polyglot to run commands on the server, then reported the fixes.
Overview
In a sanctioned lab, bypassed an image-upload filter with a PNG/PHP polyglot file and used the resulting webshell to run commands as the web server user and capture the flag.
What I did
- Reported the fixes that close the gap: validate and sanitise uploads and store them outside the web root.
Outcome
Showed how one weak upload check can hand an attacker control of a web server.
Stack
- Web exploitation
- CTF