Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-17776

Prevent guests from resending notification e-mails to admin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.3.19
    • phpBB 3.3.19, PHP 8.3.36, MySQL(i) 10.11.19-MariaDB-0+deb12u1

      On a board I am administering the account activation is set to “By admin”. Last week on three consecutive days a total of three new users registered which were assumed to be AI or at least AI-supported humans (similar pattern of usernames and e-mail addresses, IP from the same hoster, identical error while answering a question requested on registration with that board) who were not activated due to those reasons. Starting on the fourth day for all those users the admins received another notification e-mail presenting those users for activation. On the second day that happened we started to investigate how that could be done and found a guest requesting the URL https://www.board.de/ucp.php?mode=resend_act for all three a.m. users from an IP of the same hoster.
      Based on the registration settings the link “Resend activation email” is not displayed (in “/includes/functions.php”, line 2566 the template variable “U_RESEND_ACTIVATION” is only set if account activation by email is selected). Further investigation showed that the link is processed in the “/includes/ucp/ucp_resend.php” file starting at line 193 for the “activation by admin” setting and resends the notification mail.
      Since there is no link displayed to start this process for this activation setting I assume this to be a bug which enables guests to annoy administrators with unwanted emails.
      To prevent this the “/includes/ucp/ucp_resend_act.php” has been altered in a way which resembles all other unwanted actions in this file meaning the guest still can call that URL but is only getting a message that the activation email has been sent.

            Unassigned Unassigned
            Mike-on-Tour Mike-on-Tour
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: