Description
Formbricks before 4.9.0 contains an authorization bypass vulnerability in server actions like resetSurveyAction and updateSegmentAction that fail to verify resource ownership against the supplied organizationId. Authenticated owners or managers of any organization can pair their own organization identifier with victim resource IDs to delete survey responses, modify segments and quotas, or alter pending invitations.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| formbricks | formbricks | < 4.9.0 | 4.9.0 |
References
- https://github.com/formbricks/formbricks/issues/7326 issue-tracking
- https://github.com/formbricks/formbricks/blob/4.8.7/apps/web/app/(app)/environments/%5BenvironmentId%5D/surveys/%5BsurveyId%5D/(analysis)/summary/actions.ts#L65-L95 technical-description
- https://github.com/formbricks/formbricks/blob/4.8.7/apps/web/modules/organization/settings/teams/actions.ts#L33-L50 technical-description
- https://github.com/formbricks/formbricks/commit/c7faa29437ea706eae411958b260bb5ad5c60e4f patch
- Formbricks 4.9.0 Release Notes release-notes
- VulnCheck Advisory: Formbricks before 4.9.0 Cross-Organization IDOR in Server Actions via organizationId third-party-advisory