Google VRP ยท Case Study ยท Deserialization RCE ยท Written by Aditya Sunny

No-code platform, full server control

Program: Google VRPReward: $10,000Class: Insecure Deserialization โ†’ RCEStatus: Patched (Oct 31, 2022)
No-code app building blocks cracking open to reveal a terminal

A harmless automation bot became a remote control for the server behind it.

TL;DR โ€” Google's AppSheet is a no-code platform powering thousands of business workflows โ€” but its Automation feature deserialized a user-supplied webhook body without validation. By passing arbitrary .NET object types in the JSON, an attacker could get arbitrary PowerShell command execution on the backend. The vulnerability was uncovered by security researcher Chip, reported to Google VRP in September 2022, patched, and awarded $10,000. This is my case-study write-up of the bug.

Deserialization RCE in one paragraph

Serialization packs an object for storage or transfer; deserialization unpacks it back into memory. If a system blindly trusts whatever comes in during deserialization, attackers can send malicious objects that run commands. In .NET, that can mean instantiating dangerous classes such as System.Diagnostics.Process, invoking methods like Start, and running shell commands through cmd or powershell.

How the vulnerability was found

AppSheet's Automation feature lets users create a Bot that runs on a schedule, add a Webhook Step that calls any URL via HTTP POST, and supply a custom JSON body. Chip discovered that this custom body data was deserialized without validation โ€” making it possible to pass arbitrary .NET object types complete with method calls.

The malicious payload used the classic ObjectDataProvider gadget: the JSON declares a $type of System.Windows.Data.ObjectDataProvider (PresentationFramework), sets MethodName to Start, and supplies method parameters as an ArrayList containing cmd and a PowerShell command that calls back to an attacker server โ€” with the ObjectInstance typed as System.Diagnostics.Process. In plain terms: ObjectDataProvider dynamically calls Start, Process spawns a system process, and PowerShell fires a web request to the attacker's server โ€” proof of code execution.

Reproduction outline (educational)

  1. Create an AppSheet account and go to Automation.
  2. Add a New Bot set to run on a schedule (e.g., monthly).
  3. Add a Step โ†’ Call a Webhook.
  4. Set Method = POST, URL = a test server you control.
  5. In the Body, paste the malicious payload, pointing the callback at your domain.
  6. Save and wait for the bot to run.
  7. Check your server logs โ€” a request arrives from Google's AppSheet infrastructure.

The attack chain: Attacker โ†’ AppSheet Automation Bot (POST with malicious .NET object) โ†’ unsafe deserialization in the backend โ†’ System.Diagnostics.Process.Start() โ†’ PowerShell command execution โ†’ attacker's server receives the callback. These steps are documented for educational and responsible-disclosure purposes; running them against unauthorized systems is illegal โ€” and the flaw has been patched since 2022.

Impact if exploited

Timeline

EventDate
Reported to Google VRPSep 19, 2022
TriagedSep 19, 2022 (same day)
AcceptedSep 28, 2022
PatchedOct 31, 2022
Bounty awarded$10,000

Google's fix โ€” and the lessons

Google enforced type whitelisting in deserialization, sanitized automation payloads, and prevented automation from spawning system processes. For developers, the rules are evergreen: never deserialize untrusted data; use safe serialization formats (JSON without polymorphic type binding); validate input in automation and custom-workflow features; and log and monitor outbound requests from backend processes. For bug hunters: explore automation and customization features โ€” they are often overlooked; test server-side parsing of client-controlled input; in .NET apps, always check for object injection in JSON/XML; and chain with SSRF, RCE, or privilege escalation for higher impact.

No-code does not mean no-risk. A single deserialization flaw turned a harmless automation bot into a remote control for the servers behind it โ€” and responsible disclosure turned a potential global threat into a $10,000 success story.

Originally published on Medium (Aug 10, 2025).

Found something similar?

I help teams verify and fix issues like this โ€” and I retest my own reports for free. Reach me at sr558079@gmail.com or read more writeups.