Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| fatfreecrm / fat_free_crm | affected 0 before 0.26.0 |
CWE
CWE-639
References
- https://github.com/fatfreecrm/fat_free_crm/issues/1650
- https://github.com/fatfreecrm/fat_free_crm/commit/3c3199328dd10414b1f039ab8e4a82fe0f3baf87
- https://github.com/fatfreecrm/fat_free_crm/releases/tag/v0.26.0
- https://github.com/fatfreecrm/fat_free_crm/blob/v0.25.0/app/controllers/comments_controller.rb
- https://www.vulncheck.com/advisories/fat-free-crm-before-0.26.0-idor-via-commentscontroller-update-and-destroy
ADP enrichment
No English description supplied.
No references supplied.