Rapid7 Vulnerability & Exploit Database

Solaris LPD Arbitrary File Delete

Back to Search

Solaris LPD Arbitrary File Delete



This module uses a vulnerability in the Solaris line printer daemon to delete arbitrary files on an affected system. This can be used to exploit the rpc.walld format string flaw, the missing krb5.conf authentication bypass, or simply delete system files. Tested on Solaris 2.6, 7, 8, 9, and 10.


  • hdm <x@hdm.io>
  • Optyx <optyx@uberhax0r.net>


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 auxiliary/dos/solaris/lpd/cascade_delete
msf auxiliary(cascade_delete) > show actions
msf auxiliary(cascade_delete) > set ACTION < action-name >
msf auxiliary(cascade_delete) > show options
    ...show and set options...
msf auxiliary(cascade_delete) > run 

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