~/talk

LiveWire: Remote Command Execution Through Unmarshalling

Talkat Nullcon Berlin 2025 · 2025-09-04..09-05· [security, php]
links:none on file
links:none on file
slides:none on file

Livewire’s JSON synthesizers allow instantiation of arbitrary PHP classes via the CLCTN type, and by controlling the meta/class and value fields an attacker can chain gadgets (fn_stream for __toString or __destruct, a prefix string caster, then a dispatcher into Laravel’s queue/serialization) to get remote command execution; exploitation requires requires APP_KEY to reforge Livewire checksums, works against many Livewire apps (≈700k installs), and laravel-crypto-killer automates payload generation. CVE-2025-54068 later covers an RCE variant that removes the APP_KEY prerequisite.

AI-written summary · about

  1. 0:00Introduction and presenters
  2. 1:06What is LiveWire in Laravel
  3. 4:21LiveWire’s synthesizer mechanism
  4. 7:55Prerequisites for exploitation
  5. 9:19PHP magic methods and gadgets
  6. 12:50Unmarshalling chain discovery
  7. 18:31Achieving remote command execution
  8. 21:20Automating the exploit with Laravel Cryptokiller
  9. 24:12Live demonstration on Snipe-IT
  10. 27:03Research findings and conclusions
  11. 30:37Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.