CVE-2024-41657

CVE-2024-41657 is a high-severity vulnerability in Casbin Casdoor with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-697.

Key facts

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.

Frequently asked questions

What is CVE-2024-41657?
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.
How severe is CVE-2024-41657?
CVE-2024-41657 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability none.
Is CVE-2024-41657 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (50th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-41657?
CVE-2024-41657 affects Casbin Casdoor. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-41657?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2024-41657 have an EU (EUVD) identifier?
Yes. CVE-2024-41657 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2615.
When was CVE-2024-41657 published?
CVE-2024-41657 was published on 2024-08-20 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Casbin Casdoor

All CVEs affecting Casbin Casdoor →

Other CWE-697 vulnerabilities

Browse all CWE-697 vulnerabilities →