{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-41657","published":"2024-08-20T21:15:13.687000Z","last_modified":"2026-06-17T07:47:59.843000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-942","CWE-697"],"cpes":[{"criteria":"cpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:*","part":"a","vendor":"casbin","product":"casdoor"}],"cpes_truncated":false,"vendors":["casbin"],"products":["casbin/casdoor"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.01126,"percentile":0.66047,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-mchx-7j67-8mcf","ecosystem":"Go","name":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","ranges":[{"introduced":"0","last_affected":"1.557.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-3087","ecosystem":"Go","name":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2024-41657/","html_en":"/en/cve/CVE-2024-41657/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-41657","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-41657"},"untrusted":{"vendor_name":"Casbin","product_name":"Casdoor","desc_en":"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.","affected":[{"untrusted_vendor":"casdoor","untrusted_product":"casdoor","versions":[]},{"untrusted_vendor":"casbin","untrusted_product":"casdoor","versions":[]}],"references":[{"url":"https://github.com/casdoor/casdoor/blob/v1.577.0/routers/cors_filter.go#L45","tags":["Product"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/","tags":["Exploit","Third Party Advisory"]}]}}