CVE-2024-41657
highpriority · track · 35EPSS 0.008 · 56 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-mchx-7j67-8mcfCasdoor CORS misconfiguration (GHSL-2024-035)2024-08-22ghsa · osvUS
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.
- GO-2024-3087Casdoor CORS misconfiguration (GHSL-2024-035) in github.com/casdoor/casdoor2024-08-30vendor · osvUS
Casdoor CORS misconfiguration (GHSL-2024-035) in github.com/casdoor/casdoor
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://casdoor.org/Patchcnnvd
- https://cxsecurity.com/cveshow/CVE-2024-41657/cnnvd
- https://github.com/casdoor/casdoor/blob/v1.577.0/routers/cors_filter.go#L45cnnvd
- https://securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/cnnvd
- https://github.com/casdoor/casdoor/blob/v1.577.0/routers/cors_filter.go#L45enisa_euvd
- https://securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/enisa_euvd
- https://github.com/casdoor/casdoor/blob/v1.577.0/routers/cors_filter.go#L45Productnvd
- https://securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/ExploitThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan