Google VRP ยท Case Study ยท Deserialization RCE ยท Written by Aditya Sunny
No-code platform, full server control
A harmless automation bot became a remote control for the server behind it.
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)
- Create an AppSheet account and go to Automation.
- Add a New Bot set to run on a schedule (e.g., monthly).
- Add a Step โ Call a Webhook.
- Set Method = POST, URL = a test server you control.
- In the Body, paste the malicious payload, pointing the callback at your domain.
- Save and wait for the bot to run.
- 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
- Execute arbitrary commands on Google's servers.
- Steal sensitive enterprise data from AppSheet-hosted apps.
- Deploy malware or ransomware within the infrastructure.
- Potentially pivot into internal Google Cloud Platform services.
Timeline
| Event | Date |
|---|---|
| Reported to Google VRP | Sep 19, 2022 |
| Triaged | Sep 19, 2022 (same day) |
| Accepted | Sep 28, 2022 |
| Patched | Oct 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.