Skip to content
SSRF Write-up Advanced

Fire In The Hole, We’re Breaching The Vault - Commvault Remote Code Execution (CVE-2025-34028)

An unauthenticated endpoint in Commvault's web interface allowed an attacker to supply a hostname that the server would fetch a file from, then write that file to disk using a path traversal in another parameter. By hosting a ZIP containing a JSP web shell, an attacker could achieve remote code execution.

labs.watchtowr.com

Published on labs.watchtowr.com

This research is a glimpse into the capability powering the watchTowr Platform, a Preemptive Exposure Management solution. We enable organizations to autonomously validate and mitigate their exposure to emerging threats, ahead of in-the-wild exploitation.

The author, on labs.watchtowr.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 endpoint concatenated user input into a URL for an outbound request and into a file path without validation, allowing SSRF and path traversal that led to arbitrary file write.

Impact

An unauthenticated attacker could execute arbitrary code on the backup server, potentially compromising backup data and stored credentials.

What the attacker needed

Network access to the Commvault web interface; attacker-controlled HTTP server

How it was found

  1. Send a POST request to the deployWebpackage endpoint with a commcellName pointing to an attacker-controlled server.
  2. Use path traversal in the servicePack parameter to bypass a missing directory error.
  3. Host a ZIP file containing a JSP web shell on the attacker server.
  4. The server downloads the ZIP and extracts it to a temporary directory.
  5. Use path traversal to place the extracted JSP in a web-accessible directory.

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.

The backup server had a web page that, without asking for a password, would download a file from any address you gave it and save it on the server. Because you could also control where it saved the file, you could make it save a malicious script in a folder the web server runs, giving you control of the machine.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.