CVE-2024-41657
published high CVSS 3.1 · 8.1GHSL-2024-035: Casdoor CORS misconfiguration
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| casdoor | casdoor | <= 1.577.0 (affected) | GitHub_M · cna |
| casbin | casdoor | 0 through 1.577.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-942 CWE-942: Permissive Cross-domain Policy with Untrusted Domains
References
2Provider assertions
2GitHub_M · cna
GHSL-2024-035: Casdoor CORS misconfiguration
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 36fb8dddfd2861fdd5d231bfe143d17c68c3e62a17ea695efff13d65691f5df6
- Ingested
- 23 Sep 2026, 08:26:16 UTC
- Source record
- Official CVE record