Anonymous user can alter fields of any subscriber

Created on 16 June 2020, about 4 years ago
Updated 22 July 2023, 11 months ago

Steps to reproduce

Configure as admin:

  1. Create a newsletter with "Opt-in/out method" = "Double"
  2. Add a field to the subscriber entity, for example field_name
  3. Create a subscription block for the new newsletter

Exploit as hostile Anonymous:

  1. Attempt to modify the subscription of an existing anonymous subscriber
  2. Correct: cannot change the newsletter subscriptions without email confirmation
  3. Bug: can edit the name without email confirmation

Proposed resolution

Fixed by πŸ› Major confusion for subscriptions during user registration Fixed

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom AdamPS

Live updates comments and jobs are added and updated live.
  • Security improvements

    It makes Drupal less vulnerable to abuse or misuse. Note, this is the preferred tag, though the Security tag has a large body of issues tagged to it. Do NOT publicly disclose security vulnerabilities; contact the security team instead. Anyone (whether security team or not) can apply this tag to security improvements that do not directly present a vulnerability e.g. hardening an API to add filtering to reduce a common mistake in contributed modules.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024