Description
Casdoor through 4.4.0 fails to properly mask the instance-wide built-in certificate private key in /api/get-certs and /api/get-cert endpoints, allowing organization administrators to retrieve it. Attackers can use the exposed private key to forge JWT tokens for any user in any organization, including global administrators.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| casdoor | casdoor | ≤ 4.4.0 | — |
References
- Researcher write-up, Finding 3 third-party-advisory exploit
- controllers/cert.go at v4.4.0 technical-description
- object/cert.go at v4.4.0 technical-description
- https://github.com/casdoor/casdoor product
- VulnCheck Advisory: Casdoor through 4.4.0 Private Key Exposure via Certificate Endpoints third-party-advisory