MODULE

LINQPad Deserialization Exploit

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

LINQPad Deserialization Exploit

Disclosed
12/03/2024
Created
05/13/2025

Description

This module exploits a bug in LIQPad up to version 5.48.00. The bug is only exploitable in paid version of software. The core of a bug is cache file containing deserialized data, which attacker can overwrite with malicious payload. The data gets deserialized every time the app restarts.

Author(s)

  • msutovsky-r7 <martin_sutovsky@rapid7.com>
  • James Williams

Platform

Windows

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/local/linqpad_deserialization_persistence
msf exploit(linqpad_deserialization_persistence) > show targets
    ...targets...
msf exploit(linqpad_deserialization_persistence) > set TARGET < target-id >
msf exploit(linqpad_deserialization_persistence) > show options
    ...show and set options...
msf exploit(linqpad_deserialization_persistence) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;