2020-09-15 19:25:55 +00:00
|
|
|
id: cve-2020-15505
|
2020-09-14 07:23:20 +00:00
|
|
|
|
|
|
|
info:
|
2020-09-14 07:25:01 +00:00
|
|
|
name: RCE in MobileIron Core & Connector <= v10.6 & Sentry <= v9.8
|
2020-09-14 07:23:20 +00:00
|
|
|
author: dwisiswant0
|
|
|
|
severity: critical
|
|
|
|
|
2020-09-14 07:26:39 +00:00
|
|
|
# THIS TEMPLATE IS ONLY FOR DETECTING
|
|
|
|
# To carry out further attacks, please see references[2] below.
|
|
|
|
# This template works by passing a Hessian header, otherwise;
|
|
|
|
# it will return a 403 or 500 internal server error. References[3].
|
|
|
|
|
|
|
|
# References:
|
|
|
|
# - [1] https://blog.orange.tw/2020/09/how-i-hacked-facebook-again-mobileiron-mdm-rce.html
|
|
|
|
# - [2] https://github.com/iamnoooob/CVE-Reverse/tree/master/CVE-2020-15505
|
|
|
|
# - [3] https://github.com/iamnoooob/CVE-Reverse/blob/master/CVE-2020-15505/hessian.py#L10
|
|
|
|
# - [4] https://github.com/orangetw/JNDI-Injection-Bypass
|
|
|
|
|
2020-09-14 07:23:20 +00:00
|
|
|
requests:
|
2020-09-14 07:26:11 +00:00
|
|
|
- raw:
|
2020-09-14 07:23:20 +00:00
|
|
|
- |
|
|
|
|
POST /mifs/.;/services/LogService HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Referer: https://{{Hostname}}
|
|
|
|
Content-Type: x-application/hessian
|
|
|
|
Connection: close
|
|
|
|
|
2020-09-14 07:26:11 +00:00
|
|
|
{{hex_decode('630200480004')}}
|
2020-09-14 07:23:20 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "application/x-hessian"
|
|
|
|
part: header
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|