module

HPLIP hpssd.py From Address Arbitrary Command Execution

Disclosed
Oct 4, 2007
Created
May 30, 2018

Description

This module exploits a command execution vulnerable in the hpssd.py
daemon of the Hewlett-Packard Linux Imaging and Printing Project.
According to MITRE, versions 1.x and 2.x before 2.7.10 are vulnerable.

This module was written and tested using the Fedora 6 Linux distribution.
On the test system, the daemon listens on localhost only and runs with
root privileges. Although the configuration shows the daemon is to
listen on port 2207, it actually listens on a dynamic port.

NOTE: If the target system does not have a 'sendmail' command installed,
this vulnerability cannot be exploited.

Author

jduck jduck@metasploit.com

Platform

Unix

Architectures

cmd

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/linux/misc/hplip_hpssd_exec
msf exploit(hplip_hpssd_exec) > show targets
...targets...
msf exploit(hplip_hpssd_exec) > set TARGET < target-id >
msf exploit(hplip_hpssd_exec) > show options
...show and set options...
msf exploit(hplip_hpssd_exec) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.