Vai al contenuto
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
noorqureshi/web-deserializationWeb e bug bounty

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 installazioni+2 in 7 giorni27 StelleMITsincronizzato 23 ore fa

Installa

Non hai ancora la CLI di NotHoly? Installala prima.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/web-deserialization

Scrive in ⁦~/.notholy/skills⁩ dopo aver controllato la firma e lo SHA-256.

FirmaFirmato, ed25519
AVsSv2EDKW…Nm95jwDg==La CLI controlla lo SHA-256 e la firma prima di scrivere qualsiasi file.
Pacchetto33b22b7f…8ceff64d
33b22b7f3b7a…de0a8ceff64d2 file · ⁦2.9 KB⁩
ScansioneBasso1 segnalazione
  • Link a domini esterni
Vedi la scansione completa
Sorgentegithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-deserialization@ee0e0c5

Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.

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.md next to this file — work the set, not the first line.

  1. Spot the blob & format: Java rO0AB/AC ED 00 05, PHP O:8:"...":, .NET __VIEWSTATE/AAEAAAD, Python pickle, Ruby Marshal \x04\x08.
  2. Confirm it's deserialized untrusted: tamper a byte → parse error/behaviour change.
  3. 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).
  4. Deliver in the sink; start with an OOB command (curl/nslookup to 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.

File di questa versione

Permessi

PermessoDichiaratoTrovato dalla scansione
Legge fileNoNo
Scrive fileNoNo
Esegue comandi shellNoNo
Usa la reteSìSì
Usa i connettoriNoNo
Controlla un browserNoNo

Segnalazioni della scansione

Rivisto il 13 nov 2026

  1. InfoLink · Link a domini esterni

Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.

VersionePubblicataCommitSHA-256FirmaCambio di permessi
v2026.10.14-ee0e0c513 nov 2026ee0e0c533b22b7fFirmata–

Chiedi tutto quello che il tuo perimetro consente.

Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.

  1. 1/3

    Crea l'account

    Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.

    PrivatoAzienda
  2. 2/3

    Aggiungi crediti

    Con carta. Paghi a token, senza abbonamento.

    $5.00ricarica minima
  3. 3/3

    Chiedi

    In chat, oppure installa la CLI ed esegui notholy login nel terminale.

    $ notholy login