Challenges
Poisoned avatar
Web
Hard
File upload vulnerability
Solves: 4
Poisoned avatar
Author: CyberSamSU
Points
100
"PixelChat" is a small social network. Users can upload their avatar (profile picture) on the profile page. The application checks the file before accepting the image and claims that it only allows images.
Uploaded files are saved directly in the site's public (web-accessible) folder. Your objective is to bypass this "image check", execute your own PHP code on the server (RCE) and find the secret flag on the server.
Objective: execute PHP code on the server via the avatar upload form and get the flag.
To start this challenge's lab, log in.
Theory: learn the topic
To submit a flag, log in.