Enumeration is still possible for authenticated users

Created on 3 November 2022, about 2 years ago
Updated 5 September 2024, 3 months ago

Problem/Motivation

Drupal\user\Controller\UserController::resetPass has this message
$this->messenger()->addWarning($this->t('Another user (%other_user) is already logged into the site on this computer, but you tried to use a one-time link for user %resetting_user... that reveals the username for authenticated user. There is no access control/user role checks, so any authenticated user is able to fetch the information.

Steps to reproduce

Log in and go to /user/reset/{UID}/1/1 to see the message.

Proposed resolution

-

Remaining tasks

-

User interface changes

-

API changes

-

Data model changes

-

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇫🇮Finland sokru

Live updates comments and jobs are added and updated live.
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.71.5 2024