framework icon indicating copy to clipboard operation
framework copied to clipboard

Avatar Uploader does not remove files after validation failure

Open kulga opened this issue 10 years ago • 0 comments

Reference thread https://discuss.flarum.org/d/3381-i-have-found-avatar-upload-bug-for-upload-shell-backdoor

When a user uploads a file that fails image validation, the file is kept on the server in storage/tmp. This may trigger antivirus warnings if malicious files are uploaded

The file should be deleted immediately if validation fails for uploads.

Currently occurring in dev-master and possibly beta.5

kulga avatar Jul 12 '16 00:07 kulga