Writeups
-
Hard
Web shell upload via race condition
web shell upload via race condition where the server moves the upload to a web-accessible folder and only deletes it after a virus check, so firing the POST upload and several GET /files/avatars/exploit.php requests simultaneously with Turbo Intruder's gate lands a read in the window before deletion, executing the PHP to return carlos's secret
File upload vulnerabilities 6 min -
Hard
Remote code execution via polyglot web shell upload
remote code execution via polyglot web shell upload where the server verifies the file is a genuine image, so you use ExifTool to embed the PHP payload in a real JPEG's Comment field and save it as polyglot.php, which passes content validation yet executes when requested, returning carlos's secret between START and END markers in the image binary
File upload vulnerabilities 3 min -
Medium
Web shell upload via obfuscated file extension
web shell upload via obfuscated file extension where the validator accepts a filename ending in .jpg but the save layer treats %00 as a string terminator, so filename="exploit.php%00.jpg" passes the image check yet is stored as exploit.php, and requesting it executes the PHP to return carlos's secret
File upload vulnerabilities 2 min -
Medium
Web shell upload via extension blacklist bypass
web shell upload via extension blacklist bypass where .php is blocked but .htaccess is not, so uploading a .htaccess containing AddType application/x-httpd-php .l33t remaps an invented extension to PHP on the Apache/mod_php server, and uploading the shell as exploit.l33t then requesting it executes the PHP to return carlos's secret
File upload vulnerabilities 3 min -
Medium
Web shell upload via path traversal
web shell upload via path traversal where the avatars directory is configured not to execute scripts, but the save path is built from the attacker-controlled filename, so filename="..%2fexploit.php" (the server strips ../ but URL-decodes %2f afterwards) writes the PHP up into the executable /files directory, and requesting GET /files/avatars/..%2fexploit.php runs it to return carlos's secret
File upload vulnerabilities 3 min -
Easy
Remote code execution via web shell upload
remote code execution via web shell upload where the avatar function stores files to /files/avatars/ with no validation, so uploading exploit.php containing file_get_contents('/home/carlos/secret') and requesting GET /files/avatars/exploit.php makes the server execute the PHP and return carlos's secret
File upload vulnerabilities 3 min
Nothing matched that.
No writeups here yet. Try a broader tag, or clear the filter to see everything.
Clear filters