CVE-2024-41657: casdoor
Vulnerability summary
CVE-2024-41657 is a high (CVSS 8.8) vulnerability in casdoor. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 55.6% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 20-08-2024PublishedVulnerability first disclosed.
- 20-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NDiffers
- OSV · GoEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.79%
Chance of exploitation in the next 30 days
Percentile
56%
Versus all other CVEs
30-day change
0.00 pp
From 0.79% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundGhsl 2024 035 Ghsl 2024 036 Casdoor
Maturity: poc
Weaknesses
CWE · root cause- CWE-942Permissive Cross-domain Security Policy with Untrusted DomainsThe product uses a web-client protection mechanism such as a Content Security Policy (CSP) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate.
- CWE-697Incorrect ComparisonThe product compares two entities in a security-relevant context, but the comparison is incorrect.
Affected systems
Casdoor1 product
- casdoor≤ 1.577.0
Github.com/casdoor1 product
- casdoor≤ 1.557.0 | All versions (No fix recorded)
2 vendors · 2 products
References
6 links- securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/X Refsource CONFIRMExploitThird Party Advisory
- github.com/casdoor/casdoorPACKAGE