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. Learn more

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 Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCASDOORCASDOOR-5915275
  • published22 Sept 2023
  • disclosed8 Feb 2023
  • creditOmri Inbar

Introduced: 8 Feb 2023

CVE NOT AVAILABLE CWE-352  (opens 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