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.
2019
11 pointsNew this year4
Exercising unserialize against ArrayObject and SplObjectStorage to look for use-after-free is a new pattern in the disclosed reports.
Crafting serialised data that creates an unexpected object without invoking the wakeup method first appears in the disclosed reports.
Seen in 1 report
Deriving the Active Storage signing secret from the application name to sign a malicious Marshal object is newly noted in the disclosed reports.
Phar deserialisation appears repeatedly from 2019 onwards in PHP applications and libraries in the disclosed reports.
Kept working5
Exercising unserialize against ArrayObject and SplObjectStorage to look for use-after-free was effective in the disclosed reports.
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
Crafting serialised data that creates an unexpected object without invoking the wakeup method worked in the disclosed reports.
Seen in 1 report
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
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.
Turned up less2
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
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