HexBrain

Browse / CVEs / CVE-2021-46379

CVE-2021-46379· dlink / dir-850l firmware· CWE-601

D-Link DIR850 ET850-1.08TRb03 - Open Redirect

mediumseverity
6.1CVSS score
15.8%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it

DLink DIR850 ET850-1.08TRb03 contains incorrect access control vulnerability in URL redirection, which can be used to mislead users to go to untrusted sites.

Impact

An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the download of malware.

Fix

Apply the latest firmware update provided by D-Link to fix the open redirect vulnerability.

How to confirm it

Send: GET {{BaseURL}}/boafrm/formWlanRedirect?redirect-url=http://interact.sh&wlan_id=1
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*…/

Run it with nuclei: nuclei -id CVE-2021-46379 -u <target>

The full check
id: CVE-2021-46379

info:
  name: D-Link DIR850 ET850-1.08TRb03 - Open Redirect
  author: 0x_Akoko
  severity: medium
  description: DLink DIR850 ET850-1.08TRb03 contains incorrect access control vulnerability in URL redirection, which can be used to mislead users to go to untrusted sites.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the download of malware.
  remediation: |
    Apply the latest firmware update provided by D-Link to fix the open redirect vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2021-46379
    - https://drive.google.com/file/d/1rrlwnIxSHEoO4SMAHRPKZSRzK5MwZQRf/view
    - https://www.dlink.com/en/security-bulletin
    - https://www.dlink.com/en/security-bulletin/
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2021-46379
    cwe-id: CWE-601
    epss-score: 0.15769
    epss-percentile: 0.96896
    cpe: cpe:2.3:o:dlink:dir-850l_firmware:1.08trb03:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: dlink
    product: dir-850l_firmware
  tags: cve,cve2021,redirect,dlink,router,vkev,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/boafrm/formWlanRedirect?redirect-url=http://interact.sh&wlan_id=1'

    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1

References

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