Description
Swetrix Cloud before 5.1.0 contains a missing authorization vulnerability in ProjectController.addProject that allows authenticated users to hijack arbitrary projects by moving them into their own organisation. Attackers can create an organisation and add a victim project by its public tracking ID to read analytics, change settings, or delete it.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Swetrix | swetrix | < 5.1.0 | 5.1.0 |
References
- https://github.com/Swetrix/swetrix/issues/477 issue-tracking
- https://github.com/Swetrix/swetrix/blob/v5.0.3/backend/apps/cloud/src/project/project.controller.ts#L888-L920 technical-description
- https://github.com/Swetrix/swetrix/commit/63eb76edcb446402ad1db5ff870920773f5ff588 patch
- Swetrix v5.1.0 Release Notes release-notes
- VulnCheck Advisory: Swetrix Cloud before 5.1.0 Missing Authorization via POST /project/organisation/:orgId third-party-advisory