CVE-2024-41657

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:*

History

28 Aug 2024, 16:13

Type Values Removed Values Added
CPE cpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 8.1
v2 : unknown
v3 : 8.8
CWE CWE-697
References () https://github.com/casdoor/casdoor/blob/v1.577.0/routers/cors_filter.go#L45 - () https://github.com/casdoor/casdoor/blob/v1.577.0/routers/cors_filter.go#L45 - Product
References () https://securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/ - () https://securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/ - Exploit, Third Party Advisory
First Time Casbin casdoor
Casbin

21 Aug 2024, 12:30

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-20 21:15

Updated : 2024-08-28 16:13


NVD link : CVE-2024-41657

Mitre link : CVE-2024-41657

CVE.ORG link : CVE-2024-41657


JSON object : View

Products Affected

casbin

  • casdoor
CWE
CWE-697

Incorrect Comparison

CWE-942

Permissive Cross-domain Policy with Untrusted Domains