Aviatrix Controller Unrestricted Upload of File (CVE-2021-40870)

critical Nessus Plugin ID 271965

Synopsis

An issue was discovered in Aviatrix Controller.

Description

While the Aviatrix UI requires authentication, many API calls do not enforce a check for authentication. Some of these API calls allow an unauthenticated attacker to upload arbitrary files, including .php scripts, to the filesystem. These uploaded scripts will be processed by the web frontend, allowing an attacker to run code of their choosing.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade viatrix Controller to version 6.2-1804.2043, 6.3-1804.2490, 6.4-1804.2838 or 6.5-1804.1922 or later

See Also

https://wearetradecraft.com/advisories/tc-2021-0002/

Plugin Details

Severity: Critical

ID: 271965

File Name: aviatrix_controller_CVE-2021-40870.nasl

Version: 1.2

Type: local

Agent: unix

Family: Misc.

Published: 10/29/2025

Updated: 10/30/2025

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-40870

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:aviatrix:controller

Required KB Items: Host/local_checks_enabled, installed_sw/Aviatrix Cloud Network Controller

Excluded KB Items: Host/MacOSX/Version

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/13/2021

Vulnerability Publication Date: 9/13/2021

CISA Known Exploited Vulnerability Due Dates: 2/1/2022

Reference Information

CVE: CVE-2021-40870