Skip to content
RCE Write-up Advanced

What is a ViewState?

HigherLogic Community stored the user's session state in a compressed __VSTATE parameter that was deserialised without protection, so a tampered value could run commands on the server. The authors confirmed this by causing a DNS lookup from the target and found around 1,700 managed sites still vulnerable.

0daystolive Follow

Published on blog.sorcery.ie

Bounty$1,250total stated by author View original

/posts/higherlogicrce/ map(name:Sorcery Ltd)

0daystolive (@0daystolive), on blog.sorcery.ie

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 the application used the legacy compressed __VSTATE mechanism, which deserialises attacker-supplied data without the encryption and signing added to the standard __VIEWSTATE.

Impact

An unauthenticated attacker could execute commands on the server, and roughly 1,700 managed sites were still vulnerable in January 2022 before being patched silently.

What the attacker needed

Target runs HigherLogic Community; target uses __VSTATE; outbound DNS allowed

The fix

The vendor patched the affected instances, though only after pressure and without notifying most customers.

How it was found

  1. Find sites using the __VSTATE parameter through a public search engine.
  2. Generate a serialised payload that triggers an out-of-band DNS lookup.
  3. Load the target page and replace the hidden __VSTATE value with the payload.
  4. Submit the form and watch the out-of-band service for a DNS interaction.

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 ViewState is a blob of data a .NET website hands to your browser so it can remember who you are between page loads. If the site turns that blob back into objects without checking it was not altered, an attacker can craft their own blob that makes the server run code. This report is about an old compression trick that skipped the later protections.

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.