Project

General

Profile

Actions

Defect #6254

closed

Remove "Unknown user" notification on password request with non-existent email address

Defect #6254: Remove "Unknown user" notification on password request with non-existent email address

Added by Aron Rotteveel about 16 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Accounts / authentication
Target version:
Resolution:
Fixed
Affected version:

Description

Currently, it is possible to retrieve valid e-mailaddreses from the system by simply trying to request a password for it. If the emailaddress is not valid, Redmine will show a notification stating this.

It would be better to have this form output a success message in every scenario in order to make e-mail harvesting harder.


Files

6254.patch (1.47 KB) 6254.patch Go MAEDA, 2022-07-21 11:49
6254-v2.patch (42.3 KB) 6254-v2.patch Go MAEDA, 2023-01-26 10:06

Related issues 2 (0 open — 2 closed)

Has duplicate Redmine - Defect #25144: Account Harvesting login issueClosedActions
Has duplicate Redmine - Defect #37517: User disclosure vulnerability via "Forgot password" functionalityClosedActions

Updated by Go MAEDA almost 10 years ago Actions #1

  • Has duplicate Defect #25144: Account Harvesting login issue added

Updated by Go MAEDA almost 10 years ago Actions #2

source:tags/3.3.2/config/locales/en.yml#L153:

  notice_account_unknown_email: Unknown user.

Updated by Go MAEDA almost 10 years ago Actions #3

Aron Rotteveel wrote:

It would be better to have this form output a success message in every scenario in order to make e-mail harvesting harder.

I completely agree. Redmine should always display notice_account_lost_email_sent ("An email with instructions to choose a new password has been sent to you.").

Updated by j l over 4 years ago Actions #4

Hello,

I comment on this 12 years old defect because this is the only active one I found regarding this subject.
Is there a version in which this issue has been addressed, or a workaround ?

Thanks.
Regards,
JL

Updated by Go MAEDA over 4 years ago Actions #5

The attached patch changes the message when the entered email address is invalid as follows. Comments are welcome.

Before: "Invalid user"
After: "An email with instructions to choose a new password has been sent to you"

Updated by j l over 4 years ago Actions #6

This patch should indeed do the trick, thanks !

I would even suggest updating the message to more accurately reflect the reality. Something like "An email with instructions to choose a new password has been sent if the mail address matches an existing account"

Updated by Mischa The Evil over 4 years ago Actions #7

  • Has duplicate Defect #37517: User disclosure vulnerability via "Forgot password" functionality added

Updated by Mischa The Evil over 4 years ago Actions #8

  • Target version set to Unplanned backlogs

Updated by Go MAEDA almost 4 years ago Actions #9

Setting the target version to 5.1.0.

Updated by Go MAEDA almost 4 years ago Actions #10

  • Subject changed from Remove 'invalid user' notification on password request with invalid e-mailadress to Remove "Unknown user" notification on password request with non-existent email address
  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch.

Updated by Mischa The Evil about 3 years ago Actions #11

  • Start date deleted (2010-08-31)
Actions

Also available in: PDF Atom