ClipBucket V5 provides open source video hosting with PHP. ClipBucket-v5 Version 2.0 to Version 5.5.1 Revision 199 are vulnerable to PHP Deserialization vulnerability. The vulnerability exists in upload/photo_upload.php within the decode_key function. User inputs were supplied to this function without sanitization via collection GET parameter and photoIDS POST parameter respectively. The decode_key function invokes PHP unserialize function as defined in upload/includes/classes/photos.class.php. As a result, it is possible for an adversary to inject maliciously crafted PHP serialized object and utilize gadget chains to cause unexpected behaviors of the application. This vulnerability is fixed in 5.5.1 Revision 200.
The vulnerability is located in the upload/photo_upload.php file in the decode_key function, which calls the built-in PHP unserialize function (defined in upload/includes/classes/photos.class.php). Input data is passed to this function without any sanitization — through a GET parameter named collection and a POST parameter named photoIDS. An attacker can provide a crafted serialized PHP object and then exploit available gadget chains to trigger unwanted application behavior, such as remote code execution (RCE).
An unauthenticated attacker can gain full control over the server — including confidentiality, integrity, and availability of data — through remote code execution (RCE) using gadget chains.
ClipBucket V5 should be updated to version 5.5.1 Revision 200, in which the vulnerability has been fixed. The patch is available in the project's GitHub repository (commit 76a829c088f0813ab3244a3bd0036111017409b0).
ClipBucket V5 in versions from 2.0 to 5.5.1 Revision 199 (inclusive)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOxygenz Clipbucket
APPOxygenz2.0 – 5.5.1-200 (bez)
Related vulnerabilities
TOCTOU Race Condition w ClipBucket umożliwia wykonanie kodu PHP
Blind SQL Injection w ClipBucket v5 — sekcja komentarzy kanału
ClipBucket 5.5.2 — hardcoded domyślne dane logowania w panelu admina
ClipBucket V5 — nieograniczony upload plików PHP przez funkcję playlist
PHP Deserialization w ClipBucket V5 umożliwia zdalne wykonanie kodu