HexBrain

Browse / CVEs / CVE-2020-36365

CVE-2020-36365· smartstore / smartstorenet· CWE-601

Smartstore <4.1.0 - Open Redirect

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

Smartstore (aka "SmartStoreNET") before 4.1.0 contains an open redirect vulnerability via CommonController.ClearCache, ClearDatabaseCache, RestartApplication, and ScheduleTaskController.Edit. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.

Impact

An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the theft of sensitive information.

Fix

Upgrade Smartstore to version 4.1.0 or later to fix the open redirect vulnerability.

How to confirm it

Send: GET {{BaseURL}}/backend/admin/common/clearcache?previousUrl=http://www.interact.sh
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*…/

Run it with nuclei: nuclei -id CVE-2020-36365 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2020-36365

info:
  name: Smartstore <4.1.0 - Open Redirect
  author: 0x_Akoko
  severity: medium
  description: Smartstore (aka "SmartStoreNET") before 4.1.0 contains an open redirect vulnerability via CommonController.ClearCache, ClearDatabaseCache, RestartApplication, and ScheduleTaskController.Edit. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the theft of sensitive information.
  remediation: |
    Upgrade Smartstore to version 4.1.0 or later to fix the open redirect vulnerability.
  reference:
    - https://github.com/smartstore/SmartStoreNET/issues/2113
    - https://github.com/smartstore/SmartStoreNET
    - https://nvd.nist.gov/vuln/detail/CVE-2020-36365
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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-2020-36365
    cwe-id: CWE-601
    epss-score: 0.03092
    epss-percentile: 0.87831
    cpe: cpe:2.3:a:smartstore:smartstorenet:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: smartstore
    product: smartstorenet
    shodan-query:
      - http.html:'content="Smartstore'
      - http.html:'content="smartstore'
    fofa-query: body='content="smartstore'
  tags: cve2020,cve,redirect,smartstore,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/backend/admin/common/clearcache?previousUrl=http://www.interact.sh'

    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