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
- Severity: High (CVSS 3.x base score 8.1)
- EPSS exploit prediction: 1% (50th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-2615
- Weakness: CWE-697
- Affected product: Casbin Casdoor
- Published:
- Last modified:
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
- https://github.com/casdoor/casdoor/blob/v1.577.0/routers/cors_filter.go#L45
- https://securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/
Affected products (1)
- cpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:*
More vulnerabilities in Casbin Casdoor
- CVE-2022-38638 — Critical (CVSS 9.1): Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at…
- CVE-2022-44942 — High (CVSS 8.1): Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.
- CVE-2024-41264 — High (CVSS 7.5): An issue discovered in casdoor v1.636.0 allows attackers to obtain sensitive information via the…
- CVE-2022-24124 — High (CVSS 7.5): The query API in Casdoor before 1.13.1 has a SQL injection vulnerability related to the field and value parameters, as…
- CVE-2023-34927 — Medium (CVSS 6.5): Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint…
- CVE-2024-41658 — Medium (CVSS 6.1): Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. In Casdoor 1.577.0 and…
All CVEs affecting Casbin Casdoor →
Other CWE-697 vulnerabilities
- CVE-2025-54336 — Critical (CVSS 9.8): In Plesk Obsidian 18.0.70, _isAdminPasswordValid uses an == comparison. Thus, if the correct password is "0e" followed…
- CVE-2024-24621 — Critical (CVSS 9.8): Softaculous Webuzo contains an authentication bypass vulnerability through the password reset functionality. Remote,…
- CVE-2024-5217 — Critical (CVSS 9.8): ServiceNow has addressed an input validation vulnerability that was identified in the Washington DC, Vancouver, and…
- CVE-2023-32571 — Critical (CVSS 9.8): Dynamic Linq 1.0.7.10 through 1.2.25 before 1.3.0 allows attackers to execute arbitrary code and commands when…
- CVE-2022-47034 — Critical (CVSS 9.8): A type juggling vulnerability in the component /auth/fn.php of PlaySMS v1.4.5 and earlier allows attackers to bypass…
- CVE-2021-44971 — Critical (CVSS 9.8): Multiple Tenda devices are affected by authentication bypass, such as AC15V1.0 Firmware V15.03.05.20_multi?AC5V1.0…