nuclei-templates/cves/2020/CVE-2020-15505.yaml

39 lines
1.3 KiB
YAML

id: CVE-2020-15505
info:
name: RCE in MobileIron Core & Connector <= v10.6 & Sentry <= v9.8
author: dwisiswant0
severity: critical
reference: https://blog.orange.tw/2020/09/how-i-hacked-facebook-again-mobileiron-mdm-rce.html
tags: cve,cve2020,mobileiron,rce
# 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
requests:
- raw:
- |
POST /mifs/.;/services/LogService HTTP/1.1
Host: {{Hostname}}
Referer: https://{{Hostname}}
Content-Type: x-application/hessian
Connection: close
{{hex_decode('630200480004')}}
matchers-condition: and
matchers:
- type: word
words:
- "application/x-hessian"
part: header
- type: status
status:
- 200