Skip to content
File upload Write-up Intermediate

CVE-2025–55912 — ClipBucket ≤ 5.5.0 — Unauthenticated Arbitrary File Upload → RCE

ClipBucket versions up to 5.5.0 have an unauthenticated file upload endpoint that accepts PHP files without proper validation. An attacker could upload a PHP webshell and execute commands on the server, leading to remote code execution.

mukund.s1337 Follow

Published on medium.com

Hello — my name is Mukundsinh Solanki, from Gujarat, India. I am a Penetration Tester with 8+ years’ experience in discovering and helping remediate security issues across web, mobile, and network applications.

Mukundsinh Solanki, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The upload endpoint does not require authentication and does not properly validate file type or content, allowing executable PHP files to be stored in a web-accessible directory.

Impact

An unauthenticated attacker could achieve full server compromise via remote code execution, though the exact stored path may vary and the bypass details are redacted.

What the attacker needed

No authentication needed; target runs ClipBucket ≤ 5.5.0; uploaded file must be web-accessible

The fix

The upload endpoint should require authentication and authorization, enforce strict server-side validation of file types and contents, and store uploaded files outside the web root or prevent their execution.

How it was found

  1. Send a multipart POST request to the photo uploader endpoint without authentication.
  2. Include a file part with a PHP filename and PHP code as the content.
  3. If the upload succeeds, the file is stored in a web-accessible folder.
  4. Request the uploaded file with a command parameter to execute system commands.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A file upload feature on a website let anyone send files without logging in, and it did not check what kind of file was sent. Someone could send a small program written in PHP (a language used by many websites) and then ask the server to run it, which gives them control over the server.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

More by mukund.s1337

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.