ADVISORIES

GitHub Advisory Database

GHSA-4h9w-7vfp-px8m

Shopware default newsletter opt-in settings allow for mass sign-up abuse

Details

Impact

Currently the default settings for double-opt-in allow for mass unsolicited newsletter sign-ups without confirmation.

Default settings are:

Newsletter: Double Opt-in - active

Newsletter: Double opt-in for registered customers - disabled

Log-in & sign-up: Double opt-in on sign-up - disabled

With these settings, anyone can register an account on the shop using any e-mail-address and then check the check-box in the account page to sign up for the newsletter. The recipient will receive two mails confirming registering and signing up for the newsletter, no confirmation link needed to be clicked for either. In the backend the recipient is set to “instantly active”.

Patches

Update to Shopware 6.6.10.3 or 6.5.8.17

Workarounds

For older versions of 6.4, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.

Affected packages

EcosystemPackageAffected versions
Packagistshopware/core
From 6.6.0.0-rc1 before 6.6.10.3 (fixed in 6.6.10.3)
Packagistshopware/platform
From 6.6.0.0-rc1 before 6.6.10.3 (fixed in 6.6.10.3)
Packagistshopware/platform
From 6.7.0.0-rc1 before 6.7.0.0-rc2 (fixed in 6.7.0.0-rc2)
Packagistshopware/core
From 6.7.0.0-rc1 before 6.7.0.0-rc2 (fixed in 6.7.0.0-rc2)
Packagistshopware/core
All versions before 6.5.8.17 (fixed in 6.5.8.17)
Packagistshopware/platform
All versions before 6.5.8.17 (fixed in 6.5.8.17)

References