GHSL-2024-035: Casdoor CORS misconfiguration
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Casdoor | casdoor | up to 1.577.0 | — | No fix listed | CNA |
| — | github.com/casdoor/casdoor (Go) | up to 1.557.0 | — | No fix listed | GHSA-mchx-7j67-8mcf |
- casdoor VendorCasdoor Affected up to 1.577.0 Fixed in — No fix listed CNA
- github.com/casdoor/casdoor (Go) Vendor— Affected up to 1.557.0 Fixed in — No fix listed GHSA-mchx-7j67-8mcf
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-41657
- 2026-10-03 Alias added: GHSA-mchx-7j67-8mcf
References
Advisory 2
More Casdoor vulnerabilities
- TI-2022-22096 Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function. CVSS 3.1HIGH 8.1
- TI-2022-08069 The query API in Casdoor before 1.13.1 has a SQL injection vulnerability related to the… CVSS 3.1HIGH 7.5
- TI-2023-17434 Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF)… CVSS 3.1MEDIUM 6.5
- TI-2024-27721 GHSL-2024-036: Reflected XSS in QrCodePage.js CVSS 3.1MEDIUM 6.1
- TI-2026-04788 Casdoor OAuth Authorization Request redirect CVSS 4.0MEDIUM 5.3
- TI-2022-18179 Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the… CVSS 3.1CRITICAL 9.1
Sources
- CVE-2024-41657 · CVE Program
- CVE-2024-41657 · NVD
- FIRST EPSS
- GHSA-mchx-7j67-8mcf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences