critical CVSS 9.8

CVE-2025-21624·PHP vulnerability

ClipBucket V5 provides open source video hosting with PHP. Prior to 5.5.1 - 239, a file upload vulnerability exists in the Manage Playlist functionality of the application, specifically surrounding the uploading of playlist cover images. Without proper checks, an attacker can upload a PHP script file instead of an image file, thus allowing a webshell or other malicious files to be stored and executed on the server. This attack vector exists in both the admin area and low-level user area. This vulnerability is fixed in 5.5.1 - 239.

Severity
critical
Software
PHP
Fixed in
5.5.1-239
Published
2025-01-07

Affected versions

From: 5.3

Until: 5.5.1-239

Fixed in: 5.5.1-239

How to fix this CVE

ClipBucket versions 5.3 through 5.5.1-238 contain a critical file upload vulnerability in the playlist cover image feature that allows unauthenticated attackers to upload and execute arbitrary PHP files as webshells. Upgrade ClipBucket immediately to version 5.5.1-239 or later, which implements strict file type validation and execution prevention. Review your server logs for suspicious file uploads in the playlist directory and remove any unauthorized PHP files.

sudo dnf update php

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

POST request to /upload.php or /admin/upload_playlist_cover.php with Content-Type: multipart/form-data containing files with .php, .phtml, .php5, .php7, .phar extensions disguised with image MIME types or double extensions like .php.jpg

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Block POST requests to playlist upload endpoints that contain executable file extensions (.php, .phtml, .php3, .php4, .php5, .php7, .phar, .phps, .pht). Implement MIME type validation requiring image/* content types only. Consider blocking requests where filename extension does not match declared Content-Type.

How to check if you are affected

  1. Check ClipBucket version: Access the admin panel and navigate to Settings > About to verify the installed version number
  2. Identify vulnerable installations: Search for ClipBucket installation directories (typically /var/www/html/clipbucket or /home/*/public_html/clipbucket) and check the version file at clipbucket/includes/config.php for VERSION constant
  3. Review upload logs: Examine web server access logs for POST requests to /upload.php or playlist-related endpoints with suspicious file extensions like .php, .phtml, .php5 in the request body
  4. Verify patch deployment: Confirm ClipBucket version is 5.5.1-239 or higher and check that file upload validation now rejects non-image MIME types in the playlist cover upload handler

FAQ

What is CVE-2025-21624?

This is a critical file upload vulnerability in ClipBucket's playlist cover image functionality that fails to validate uploaded file types, allowing attackers to upload malicious PHP files and gain remote code execution on the server.

Is CVE-2025-21624 being actively exploited?

No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploit code is currently available, but the critical CVSS score of 9.8 and ease of exploitation make it a high priority for immediate patching.

What versions of ClipBucket are affected by CVE-2025-21624?

All versions from 5.3 through 5.5.1-238 are vulnerable; the fix is available in ClipBucket 5.5.1-239 and later.

How do I check if my server is vulnerable to CVE-2025-21624?

Run: grep -r "VERSION" /path/to/clipbucket/includes/config.php | grep -E "5\.[3-4]|5\.5\.0|5\.5\.1-[0-2]" to identify vulnerable versions, or attempt to upload a test .php file to a playlist cover field and check if execution is blocked.

Does Defensia detect CVE-2025-21624?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If ClipBucket is installed on a monitored server, CVE-2025-21624 will appear in your dashboard with remediation steps.

Related PHP CVEs

CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2024-5932CVSS 10The GiveWP – Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.14.1 via deserialization of untrusted input from the 'give_title' parameter. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain allows attackers to execute code remotely, and to delete arbitrary files.
CVE-2026-39337CVSS 10ChurchCRM is an open-source church management system. Prior to 7.1.0, critical pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The "$dbPassword" variable is not sanitized. This vulnerability exists due to an incomplete fix for CVE-2025-62521. This vulnerability is fixed in 7.1.0.
CVE-2025-62521CVSS 10ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.
CVE-2025-46348CVSS 10YesWiki is a wiki system written in PHP. Prior to version 4.5.4, the request to commence a site backup can be performed and downloaded without authentication. The archives are created with a predictable filename, so a malicious user could create and download an archive without being authenticated. This could result in a malicious attacker making numerous requests to create archives and fill up the file system, or by downloading the archive which contains sensitive site information. This issue has been patched in version 4.5.4.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-21624. Free for 1 server.

Get started free