CVE-2023-34927
vulnerability analysis and mitigation

Overview

Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) vulnerability in the endpoint /api/set-password. This vulnerability was disclosed on June 22, 2023, and affects all versions of Casdoor up to and including version 1.331.0. The vulnerability is tracked as CVE-2023-34927 (NVD, Gist Advisory).

Technical details

The vulnerability exists due to the absence of CSRF protection mechanisms in the /api/set-password endpoint. The application does not implement CSRF tokens for password change requests, nor does it require the current password for verification. This security flaw has been assigned a CVSS v3.1 Base Score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N (NVD).

Impact

This vulnerability allows attackers to arbitrarily change a victim user's password by crafting a malicious URL. If successfully exploited, it can lead to account takeover when a logged-in victim accesses the attacker's malicious site (GitHub Issue).

Mitigation and workarounds

Security researchers recommend implementing CSRF tokens for the password change functionality or requiring the current password for verification before allowing password changes (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management