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

37 lines
1.1 KiB
YAML

id: cve-2020-15505
info:
name: RCE in MobileIron Core & Connector <= v10.6 & Sentry <= v9.8
author: dwisiswant0
severity: critical
# 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