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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| absmach | magistrala | ≤ 1.0.0 | — |
References
- https://hackmd.io/@hieuPenguinnn/magistrala-certs-missing-workspace-scope-cross-tenant third-party-advisory
- https://github.com/absmach/magistrala/blob/v1.0.0/certs/service.go#L136-L180 technical-description
- https://github.com/absmach/magistrala/blob/v1.0.0/certs/middleware/authorization.go#L97-L110 technical-description
- https://github.com/absmach/magistrala product
- VulnCheck Advisory: Magistrala through 1.0.0 Cross-Tenant Authorization Bypass in Certs Service third-party-advisory