Description
53AIHub through 0.5.3 contains a missing authentication vulnerability that allows unauthenticated attackers to overwrite any enterprise's profile by sending PUT requests to /api/enterprises/:id. Because UpdateEnterprise only enforces checks when IS_SAAS is true, attackers can enumerate sequential enterprise IDs and overwrite logos, display names and branding for defacement and phishing.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 53AI | 53AIHub | ≤ 0.5.3 | — |
References
- https://hackmd.io/@hieuPenguinnn/53aihub-unauth-cross-tenant-enterprise-update third-party-advisory
- https://github.com/53AI/53AIHub/blob/v0.5.3/api/router/api.go#L54-L66 technical-description
- https://github.com/53AI/53AIHub/blob/v0.5.3/api/controller/enterprise.go#L122-L160 technical-description
- VulnCheck Advisory: 53AIHub through 0.5.3 Missing Authentication via PUT /api/enterprises/:id third-party-advisory