Rapid7 Vulnerability & Exploit Database

Solaris LPD Command Execution

Back to Search

Solaris LPD Command Execution

Disclosed
08/31/2001
Created
05/30/2018

Description

This module exploits an arbitrary command execution flaw in the in.lpd service shipped with all versions of Sun Solaris up to and including 8.0. This module uses a technique discovered by Dino Dai Zovi to exploit the flaw without needing to know the resolved name of the attacking system.

Author(s)

  • hdm <x@hdm.io>
  • ddz <ddz@theta44.org>

Platform

Solaris,Unix

Architectures

cmd

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/solaris/lpd/sendmail_exec
msf exploit(sendmail_exec) > show targets
    ...targets...
msf exploit(sendmail_exec) > set TARGET < target-id >
msf exploit(sendmail_exec) > show options
    ...show and set options...
msf exploit(sendmail_exec) > 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

;