Rapid7 Vulnerability & Exploit Database

HP-UX LPD Command Execution

Back to Search

HP-UX LPD Command Execution

Disclosed
08/28/2002
Created
05/30/2018

Description

This exploit abuses an unpublished vulnerability in the HP-UX LPD service. This flaw allows an unauthenticated attacker to execute arbitrary commands with the privileges of the root user. The LPD service is only exploitable when the address of the attacking system can be resolved by the target. This vulnerability was silently patched with the buffer overflow flaws addressed in HP Security Bulletin HPSBUX0208-213.

Author(s)

  • hdm <x@hdm.io>

Platform

HPUX,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/hpux/lpd/cleanup_exec
msf exploit(cleanup_exec) > show targets
    ...targets...
msf exploit(cleanup_exec) > set TARGET < target-id >
msf exploit(cleanup_exec) > show options
    ...show and set options...
msf exploit(cleanup_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

;