CVE-2024-41657

Public Exploit
GHSL-2024-035: Casdoor CORS misconfiguration

Description

Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. In Casdoor 1.577.0 and earlier, a logic vulnerability exists in the beego filter CorsFilter that allows any website to make cross domain requests to Casdoor as the logged in user. Due to the a logic error in checking only for a prefix when authenticating the Origin header, any domain can create a valid subdomain with a valid subdomain prefix (Ex: localhost.example.com), allowing the website to make requests to Casdoor as the current signed-in user.

Categories

8.1
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.22%
Third-Party Advisory github.com
Affected: casdoor casdoor
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-41657?
CVE-2024-41657 has been scored as a high severity vulnerability.
How to fix CVE-2024-41657?
To fix CVE-2024-41657, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-41657 being actively exploited in the wild?
It is possible that CVE-2024-41657 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-41657?
CVE-2024-41657 affects casdoor casdoor.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.