Campaign Monitor
The module does not properly protect its administration pages from forged requests. Anyone without logging in could trick an administrator into clicking a malicious link. They could alter list settings but could not read any hidden information.
- Who could do thisAnyone visiting the site. No login needed.
- Does it apply to youA site is affected if an attacker embeds a link with the exact ID of a mailing list and tricks a user with the access right to administer the module into clicking it.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate Campaign Monitor to 3.0.3.
For developers: what the fix changed
Added `_csrf_token: 'TRUE'` to the list enable, disable, and refresh routes in `campaignmonitor.routing.yml` and updated link generation in `CampaignMonitorListsController.php` to use routes so tokens are automatically appended.
Also in this release Updated the delete form description and redirect URL, and added a cache clear on list deletion.
campaignmonitor.routing.yml+3 −0 fixsrc/Controller/CampaignMonitorListsController.php+49 −68 fixsrc/Form/CampaignMonitorListDeleteForm.php+5 −3