HexBrain

Browse / CVEs / CVE-2023-5375

CVE-2023-5375· mosparo / mosparo· CWE-601

Mosparo < 1.0.2 - Open Redirect

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

Open Redirect in GitHub repository mosparo/mosparo prior to 1.0.2.

Impact

Unauthenticated attackers can exploit open redirect through the targetPath parameter to redirect users to malicious websites for phishing attacks.

Fix

Update to the latest version of mosparo.

How to confirm it

Send: GET {{BaseURL}}/project/switch/1?targetPath=http://oast.pro
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)oast\.pro.*$/

Run it with nuclei: nuclei -id CVE-2023-5375 -u <target>

The full check
id: CVE-2023-5375

info:
  name: Mosparo < 1.0.2 - Open Redirect
  author: shankaracharya
  severity: medium
  description: |
    Open Redirect in GitHub repository mosparo/mosparo prior to 1.0.2.
  impact: |
    Unauthenticated attackers can exploit open redirect through the targetPath parameter to redirect users to malicious websites for phishing attacks.
  remediation: Update to the latest version of mosparo.
  reference:
    - https://huntr.dev/bounties/3fa2abde-cb58-45a3-a115-1727ece9acb9
    - https://nvd.nist.gov/vuln/detail/CVE-2023-5375
    - https://github.com/mosparo/mosparo/commit/9d5da367b78b8c883bfef5f332ffea26292f99e8
    - https://github.com/fkie-cad/nvd-json-data-feeds
  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-2023-5375
    cwe-id: CWE-601
    epss-score: 0.38991
    epss-percentile: 0.98603
    cpe: cpe:2.3:a:mosparo:mosparo:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: mosparo
    product: mosparo
  tags: cve2023,cve,huntr,mosparo,redirect,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/project/switch/1?targetPath=http://oast.pro"

    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)oast\.pro.*$'

References

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