Quantum Secular Labs / Blog / Advisories
CVE-2021-40870: Aviatrix Controller Unrestricted Upload of File
CVE-2021-40870 is rated critical with a CVSS v3.1 base score of 9.8 and affects Aviatrix Aviatrix Controller. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-01-18, which means exploitation in the wild has been observed.
Vulnerability description
An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922. Unrestricted upload of a file with a dangerous type is possible, which allows an unauthenticated user to execute arbitrary code via directory traversal.
Severity breakdown
CVSS v3.1 9.8: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
- Attack complexity: Low. No special conditions; the attack can be repeated reliably.
- Privileges required: None. No account or prior access is needed.
- User interaction: None. No action from any user is needed.
- Scope: Unchanged. Impact stays within the vulnerable component.
- Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
- Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
- Availability impact: High. Total loss of availability; the component can be shut down.
Underlying weakness
CWE-23: Relative Path Traversal
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as .. that can resolve to a location that is outside of that directory.
Affected products
- Aviatrix Controller: from 6.2 before 6.2.2043; from 6.3 before 6.3.2490; from 6.4 before 6.4.2838; from 6.5 before 6.5.1922
References
- https://docs.aviatrix.com/HowTos/UCC_Release_Notes.html#security-note-9-11-2021
- http://packetstormsecurity.com/files/164461/Aviatrix-Controller-6.x-Path-Traversal-Code-Execution.html
- https://wearetradecraft.com/advisories/tc-2021-0002/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-40870