Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| MacWarrior / clipbucket-v5 | affected 0 before 5.5.3-#182 |
CWE
CWE-434
References
- https://github.com/MacWarrior/clipbucket-v5/releases/tag/5.5.3-%23182
- https://github.com/MacWarrior/clipbucket-v5/commit/61cce55ab26ef88fb782dfde47b44c17c56978cd
- https://www.vulncheck.com/advisories/clipbucket-remote-code-execution-via-photo-upload-endpoint
ADP enrichment
No English description supplied.
No references supplied.