Cross-site Request Forgery (CSRF) Affecting github.com/casdoor/casdoor package, versions <1.424.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMCASDOORCASDOOR-5915275
  • published 22 Sep 2023
  • disclosed 8 Feb 2023
  • credit Omri Inbar

Introduced: 8 Feb 2023

CVE NOT AVAILABLE CWE-352 Open this link in a new tab

How to fix?

Upgrade github.com/casdoor/casdoor to version 1.424.0 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) due to improper input verification in /api/set-password endpoint. An attacker can send a malicious link to a logged-on victim and when the victim accesses the attacker's site he will change his own password to an attacker controlled password thus leading to Account Takeover.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.6 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    Low