ClipBucket < 5.5.3-#182 Remote Code Execution via Photo Upload Endpoint
MacWarrior clipbucket-v5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| MacWarrior clipbucket-v5 |
| No fix yet |
Original description
ClipBucket v5 before 5.5.3-#182 contains a file upload vulnerability that allows authenticated users to achieve remote code execution by uploading a PHP file with valid image magic bytes through the photo upload endpoint. The FileUpload::manageFile() function in fileupload.class.php fails to update the file extension after MIME validation, allowing an attacker-controlled .php extension to persist on disk and execute as PHP via PHP-FPM when the uploaded file is retrieved.
From the CVE record · VulnCheck