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.
Published on blog.sorcery.ie
/posts/higherlogicrce/ map(name:Sorcery Ltd)
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
- Find sites using the __VSTATE parameter through a public search engine.
- Generate a serialised payload that triggers an out-of-band DNS lookup.
- Load the target page and replace the hidden __VSTATE value with the payload.
- 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.