Cross-site Request Forgery (CSRF) Affecting github.com/casdoor/casdoor package, versions <1.424.0
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
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.
References
CVSS Scores
version 3.1