Description
Magistrala through 1.0.0 contains an authorization bypass vulnerability that allows authenticated workspace members to view, issue, and revoke other tenants' device certificates by supplying foreign serials or entity ids. Attackers can call RevokeBySerial, RevokeAll, ViewCert, ListCerts, or IssueCert under their own workspace path to disconnect other tenants' devices, disclose certificates, and mint CA-signed certificates for their device ids.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
absmach magistrala
Default version status: unaffected
0 to ≤ 1.0.0affected
pkg:github/absmach/magistralaReferences
- https://hackmd.io/@hieuPenguinnn/magistrala-certs-missing-workspace-scope-cross-tenant ↗
- https://github.com/absmach/magistrala/blob/v1.0.0/certs/service.go#L136-L180 ↗
- https://github.com/absmach/magistrala/blob/v1.0.0/certs/middleware/authorization.go#L97-L110 ↗
- https://github.com/absmach/magistrala ↗
- https://www.vulncheck.com/advisories/magistrala-through-1.0.0-cross-tenant-authorization-bypass-in-certs-service ↗