Description
Fat Free CRM before 0.26.0 contains an insecure direct object reference vulnerability that allows authenticated users to modify or delete other users' comments because CommentsController#update and #destroy use an unscoped Comment.find without authorization checks. Attackers can send PUT or DELETE requests to /comments/:id with enumerable sequential IDs to edit or delete comments on contacts, accounts, leads, and opportunities owned by others.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| fatfreecrm | fat_free_crm | < 0.26.0 | 0.26.0 |
References
- https://github.com/fatfreecrm/fat_free_crm/issues/1650 issue-tracking
- https://github.com/fatfreecrm/fat_free_crm/commit/3c3199328dd10414b1f039ab8e4a82fe0f3baf87 patch
- fat_free_crm v0.26.0 Release Notes release-notes
- https://github.com/fatfreecrm/fat_free_crm/blob/v0.25.0/app/controllers/comments_controller.rb technical-description
- VulnCheck Advisory: Fat Free CRM before 0.26.0 IDOR via CommentsController update and destroy third-party-advisory