1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00

don't use java_basicservice_impl in browser autopwn because it doesn't work in an iframe against IE and causes popups in other browsers

git-svn-id: file:///home/svn/framework3/trunk@11101 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
James Lee 2010-11-22 20:44:16 +00:00
parent 04f9aec2d8
commit 7a3770f87b

View File

@ -16,8 +16,13 @@ class Metasploit3 < Msf::Exploit::Remote
Rank = ExcellentRanking Rank = ExcellentRanking
include Msf::Exploit::Remote::HttpServer include Msf::Exploit::Remote::HttpServer
include Msf::Exploit::Remote::BrowserAutopwn # Internet explorer freaks out and shows the scary yellow info bar if this
autopwn_info({ :javascript => false }) # is in an iframe. The exploit itself also creates a couple of scary popup
# windows about "downloading application" that I haven't been able to
# figure out how to prevent. For both of these reasons, don't include it
# in Browser Autopwn.
#include Msf::Exploit::Remote::BrowserAutopwn
#autopwn_info({ :javascript => false })
def initialize( info = {} ) def initialize( info = {} )
@ -29,6 +34,9 @@ class Metasploit3 < Msf::Exploit::Remote
a parameter into a javaws call within the BasicServiceImpl class a parameter into a javaws call within the BasicServiceImpl class
the default java sandbox policy file can be therefore overwritten. the default java sandbox policy file can be therefore overwritten.
The vulnerability affects version 6 prior to update 22. The vulnerability affects version 6 prior to update 22.
NOTE: Exploiting this vulnerability causes several sinister-looking
popup windows saying that Java is "Downloading application."
}, },
'License' => MSF_LICENSE, 'License' => MSF_LICENSE,
'Author' => [ 'Author' => [
@ -52,7 +60,7 @@ class Metasploit3 < Msf::Exploit::Remote
'Platform' => 'java', 'Platform' => 'java',
} }
], ],
[ 'Windows Universal', [ 'Windows x86',
{ {
'Arch' => ARCH_X86, 'Arch' => ARCH_X86,
'Platform' => 'win', 'Platform' => 'win',