Skip to content

In-depth lesson · Unsafe deserialisation

Year by year: 2019

What the disclosed Unsafe deserialisation reports of each year show, newest first: what first appeared, what kept working and what turned up less.

Back to the lesson 1 to 11 of 11 (of 97 in all)

Clear the search

2019

11 points

New this year4

  1. Exercising unserialize against ArrayObject and SplObjectStorage to look for use-after-free is a new pattern in the disclosed reports.

    Seen in 2 reports
  2. Crafting serialised data that creates an unexpected object without invoking the wakeup method first appears in the disclosed reports.

    Seen in 1 report
  3. Deriving the Active Storage signing secret from the application name to sign a malicious Marshal object is newly noted in the disclosed reports.

    Seen in 1 report
  4. Phar deserialisation appears repeatedly from 2019 onwards in PHP applications and libraries in the disclosed reports.

    Seen in 1 report

Kept working5

  1. Exercising unserialize against ArrayObject and SplObjectStorage to look for use-after-free was effective in the disclosed reports.

    Seen in 2 reports
  2. Sending requests to the dxmlrpc and adxmlrpc delivery endpoints and looking for deserialisation of untrusted data worked in the disclosed reports.

    Seen in 2 reports
  3. Crafting serialised data that creates an unexpected object without invoking the wakeup method worked in the disclosed reports.

    Seen in 1 report
  4. Building a universal Ruby deserialisation gadget chain that works across Ruby 2.x and 3.x and testing it against YAML.load sinks worked in the disclosed reports.

    Seen in 1 report
  5. Deriving the Active Storage signing secret from the application name, signing a malicious Marshal object for the blob_key purpose, then requesting the disk controller URL worked in the disclosed reports.

    Seen in 1 report

Turned up less2

  1. Reviewing the funcster and cryo Node.js modules for insecure deserialisation, common in 2018, is less prominent in the 2019 disclosed reports.

    Seen in 1 report
  2. Checking JSF applications for a misconfigured ViewState that accepts a serialised payload, seen in 2018, is not repeated in the 2019 disclosed reports.

    Seen in 1 report