Writeups for the Web Exploitation challenges from GPNCTF 2025.
Challenges
- Free Flagging - PHP type juggling / magic hash equality vulnerability (
0e... == 0e...). - Intro to Web - Part 1 - Client-side parameter tampering to Local File Inclusion (LFI) reading
.env. - Intro to Web - Part 2 - Flask session cookie forgery using leaked secret keys to access moderator endpoints.
- Intro to Web - Part 3 - Stored XSS inside textarea reports to exfiltrate administrator session cookies to a webhook.
- Intro to Web - Part 4 - Admin XSS / CSRF triggering internal
/settingsupdates to enable/developmentroutes. - Real Christmas - GraphQL injection in string concatenation mutations allowing unauthorized administrative privilege escalation.
