symfony_mailer_logThis module enables you to log the emails sent by Mailer Plus as content entities, so they can be reviewed at Reports > Mail log.
The module doesn't sufficiently redact the content of the emails it logs. Account related emails are stored with their one-time login links intact, so any user who can view the log can obtain a one-time login link for any account, including user 1, and use it to log in as that account.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission View Drupal Symfony Mailer log entries, which in earlier releases was not marked as a restricted permission.
Install the latest version:
- If you use the Mailer Plus Log module (previously known as Symfony Mailer Log), upgrade to Mailer Plus Log 1.2.7
- After updating, run database updates so that the email bodies already stored in the log are redacted.
- Review who should have the
View Drupal Symfony Mailer log entriespermission, and whether your site sends out custom sensitive emails that would need to opt in to the redaction logic.
- Mohit Aghera (mohit_aghera) provisional member of the Drupal Security Team
- Sven Decabooter (svendecabooter)
- Swan Kalata (akalata) of the Drupal Security Team
- Greg Knaddison (greggles) of the Drupal Security Team
- Mohit Aghera (mohit_aghera)