Skip to content
RCE Write-up Advanced

How I got RCE on redbull from recon (CVE-2025–30406)

A subdomain exposed a server vulnerable to CVE-2025-30406, a ViewState deserialisation flaw that allows remote code execution. The author developed a working exploit and achieved RCE on the target.

medium.com

Published on medium.com

the free version: FREE

ABDELKARIM MOUCHQUELITA, 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

Likely an insecure deserialisation of ViewState data, as indicated by the CVE reference.

What the attacker needed

In-scope subdomain enumeration; open port with vulnerable service; custom exploit script

The fix

The vulnerability was fixed after the report.

How it was found

  1. Enumerate subdomains of the in-scope domains.
  2. Scan the subdomains for open ports and filter out honeypots.
  3. Run Nuclei against the open ports to find vulnerabilities.
  4. Identify a critical finding for CVE-2025-30406 and confirm it manually.
  5. Write a custom exploit script to trigger remote code execution.

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.

ViewState is a hidden field that ASP.NET websites use to remember page state between requests. If an attacker can tamper with it and the server deserialises it without proper protection, they can make the server run their own code. Here, a scan found a server with this known flaw, and the author built a tool to exploit it.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.