Exploit database

Vulnerability

CVE-2007-5208

Vulnerability details

Score
7.6
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:H/Au:N/C:C/I:C/A:C

Description

hpssd in Hewlett-Packard Linux Imaging and Printing Project (hplip) 1.x and 2.x before 2.7.10 allows context-dependent attackers to execute arbitrary commands via shell metacharacters in a from address, which is not properly handled when invoking sendmail.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

2 sources
HPLIP hpssd.py From Address Arbitrary Command Execution
MSF-linux--misc--hplip_hpssd_execMetasploitUnix / remote

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.

2007-10-04hplip_hpssd_exec.rb