GHSA-mchx-7j67-8mcf

Suggest an improvement
Source
https://github.com/advisories/GHSA-mchx-7j67-8mcf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-mchx-7j67-8mcf/GHSA-mchx-7j67-8mcf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mchx-7j67-8mcf
Aliases
Published
2024-08-22T17:16:39Z
Modified
2024-08-30T17:42:26.105969Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
  • 8.6 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Casdoor CORS misconfiguration (GHSL-2024-035)
Details

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.

Database specific
{
    "nvd_published_at": "2024-08-20T21:15:13Z",
    "cwe_ids": [
        "CWE-942"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-08-22T17:16:39Z"
}
References

Affected packages

Go / github.com/casdoor/casdoor

Package

Name
github.com/casdoor/casdoor
View open source insights on deps.dev
Purl
pkg:golang/github.com/casdoor/casdoor

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.557.0