CVE-2001-1583
published 2001-12-31CVE-2001-1583: lpd daemon (in.lpd) in Solaris 8 and earlier allows remote attackers to execute arbitrary commands via a job request with a crafted control file that is not…
PriorityP355critical10CVSS 2.0
AVNACLAuNCCICAC
EXPLOIT
EPSS
83.40%
99.6th percentile
lpd daemon (in.lpd) in Solaris 8 and earlier allows remote attackers to execute arbitrary commands via a job request with a crafted control file that is not properly handled when lpd invokes a mail program. NOTE: this might be the same vulnerability as CVE-2000-1220.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| sun | sunos | <= 5.9 | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor LPD (port 515/TCP) for incoming job requests containing a crafted 'P' field in the control file with embedded sendmail '-C' flag to specify an attacker-controlled mail configuration file (e.g., P field containing \"-C<path>/mail.cf\" nobody). ↗
- →Detect LPD job requests using cascaded/forwarded job syntax (byte 0x02 followed by host:queue string) originating from external/untrusted hosts, particularly with queue names like 'metasploit:framework' or 'localhost:metasploit'. ↗
- →Alert on files written to /var/spool/print with extensions or names matching patterns like <jid>mail.cf or <jid>script, which are staged by the exploit before triggering sendmail execution. ↗
- →Detect sendmail invocations by in.lpd (or lpd) that include the '-C' flag pointing to a path under /var/spool/print, indicating abuse of the mail configuration file injection technique. ↗
- →A valid printer does NOT need to be configured on the target for exploitation; do not rely on printer configuration checks as a detection or mitigation signal. ↗
- ·The exploit technique avoids needing to know the resolved name of the attacking system by using the cascaded job request mechanism, making reverse-DNS-based filtering ineffective as a sole defense. ↗
- ·Exploitation results in command execution with superuser privileges, not just the lpd daemon's user context. ↗
- ·The payload space is 8192 bytes and requires cmd-type payloads (generic, perl, or telnet); binary shellcode payloads are not compatible with this exploit path. ↗
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Exploit-DB
Solaris LPD - Command Execution (Metasploit)
exploitdb·2010-09-20
CVE-2001-1583 Solaris LPD - Command Execution (Metasploit)
Solaris LPD - Command Execution (Metasploit)
---
##
# $Id: sendmail_exec.rb 10394 2010-09-20 08:06:27Z jduck $
##
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
require 'msf/core'
class Metasploit3 'Solaris LPD Command Execution',
'Description' => %q{
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' => [ 'hdm', 'ddz' ],
'License' =>
Exploit-DB
Solaris 10 LPD - Arbitrary File Delete (Metasploit)
exploitdb·2005-08-19
CVE-2001-1583 Solaris 10 LPD - Arbitrary File Delete (Metasploit)
Solaris 10 LPD - Arbitrary File Delete (Metasploit)
---
##
# This file is part of the Metasploit Framework and may be redistributed
# according to the licenses defined in the Authors field below. In the
# case of an unknown or missing license, this file defaults to the same
# license as the core Framework (dual GPLv2 and Artistic). The latest
# version of the Framework can always be obtained from metasploit.com.
##
package Msf::Exploit::solaris_lpd_unlink;
use base "Msf::Exploit";
use IO::Socket;
use IO::Select;
use strict;
use Pex::Text;
my $advanced = { };
my $info =
{
'Name' => 'Solaris LPD Arbitrary File Delete',
'Version' => '$Revision: 1.6 $',
'Authors' =>
[
'H D Moore ',
'Optyx '
],
'Arch' => [ ],
'OS' => [ 'solaris' ],
'UserOpts' =>
{
'RHOST' => [1, 'ADDR', 'The target addre
Exploit-DB
Solaris 2.x/7.0/8 LPD - Remote Command Execution
exploitdb·2001-08-31
CVE-2001-1583 Solaris 2.x/7.0/8 LPD - Remote Command Execution
Solaris 2.x/7.0/8 LPD - Remote Command Execution
---
source: https://www.securityfocus.com/bid/3274/info
The print protocol daemon, 'in.lpd' (or 'lpd'), shipped with Solaris may allow for remote attackers to execute arbitrary commands on target hosts with superuser privileges.
The alleged vulnerability is not the buffer overflow discovered by ISS.
It has been reported that it is possible to execute commands on target hosts through lpd by manipulating the use of sendmail by the daemon.
If this vulnerability is successfully exploited, remote attackers can execute any command on the target host with superuser privileges.
This vulnerability is very similar to one mentioned in NAI advisory NAI-0020.
NOTE: It has been reported that a valid printer does NOT need to be configured to exploi
Exploit-DB
Solaris 8.0 LPD - Command Execution (Metasploit)
exploitdb·2001-08-31
CVE-2001-1583 Solaris 8.0 LPD - Command Execution (Metasploit)
Solaris 8.0 LPD - Command Execution (Metasploit)
---
##
# $Id$
##
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
require 'msf/core'
class Metasploit3 'Solaris LPD Command Execution',
'Description' => %q{
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' => [ 'hdm', 'ddz' ],
'License' => MSF_LICENSE,
'Version' => '$Revision$',
'Ref
Metasploit
Solaris LPD Command Execution
metasploit
Solaris LPD Command Execution
Solaris LPD Command Execution
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.
No writeups or analysis indexed.
http://marc.info/?l=bugtraq&m=99929694701826&w=2http://metasploit.com/projects/Framework/modules/exploits/solaris_lpd_exec.pmhttp://www.derkeiler.com/Mailing-Lists/securityfocus/incidents/2001-08/0490.htmlhttp://www.osvdb.org/15131http://www.securityfocus.com/bid/3274https://exchange.xforce.ibmcloud.com/vulnerabilities/7087http://marc.info/?l=bugtraq&m=99929694701826&w=2http://metasploit.com/projects/Framework/modules/exploits/solaris_lpd_exec.pmhttp://www.derkeiler.com/Mailing-Lists/securityfocus/incidents/2001-08/0490.htmlhttp://www.osvdb.org/15131http://www.securityfocus.com/bid/3274https://exchange.xforce.ibmcloud.com/vulnerabilities/7087
2001-12-31
Published