Skip to content

DRUPAL-CONTRIB-2021-004 The Webform module for Drupal 8/9 includes a default Contact webform, which sends a notification email to the site owner and a confirmation email to the email address supplied via the form. The confir...

Unknown
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

The Webform module for Drupal 8/9 includes a default Contact webform, which sends a notification email to the site owner and a confirmation email to the email address supplied via the form.

The confirmation email can be used as an open mail relay to send an email to any email address.

This vulnerability is mitigated by the fact that the site owner's email address is also receiving a notification email, which should alert the site owner to the exploitation. If the site owner's mailbox is not monitored, the open mail relay can be more easily exploited.

With the Webform module's latest release, the default Contact's confirmation email will only be sent to an authenticated user's email address. Anonymous users will no longer receive a confirmation email.

If anonymous users need to receive a confirmation email, we recommend you add SPAM protection to the form and update the email handler.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
drupal/webform(Packagist https //packages.drupal.org/8) < 5.25.0; >= 6.0.0, <= 6.0.0; >= 6.0.1, <= 6.0.1 5.25.0 Fixed

Affected products

ProductAffected versionsFixed in
drupal/webform(Packagist:https://packages.drupal.org/8) < 5.25.0 5.25.0
drupal/webform(Packagist:https://packages.drupal.org/8) >= 6.0.0, <= 6.0.0 No fix listed
drupal/webform(Packagist:https://packages.drupal.org/8) >= 6.0.1, <= 6.0.1 No fix listed

References