1. Overview, information

Upload functionality is ubiqutuous Opens risk If user input not correctly filtered/validated it's easily exploitable

Most common reason behind file upload vulnerability is weak file validation and verification

Worst possible vuln =

Various tests used to validate ext/content of uploaded files.

Most common + critical attack is gaining RCE

Some cases we do not have arbitrary file upload and we can only upload specific filetypes, but in these cases there's various attacks we can perform to exploit file uploads

File upload vulns are not only caused by writing insecure functions but are often caused by the use of outdated libraries that may be vulnerable to these attacks