Password reset confirm message should discourage social engineering

AI-generated summary

The discussion revolves around the security implications of password reset confirmation messages revealing whether an email exists in the user database, which can enable social engineering attacks. vietnugent raises concerns about this practice, citing examples like DigitalOcean’s vague messaging. codinghorror notes that this behavior can be disabled via site settings, arguing that it’s user-friendly to confirm email existence, especially since users often forget which email they used. michaeld adds that the signup form already reveals email existence, making the password reset issue less impactful. vietnugent acknowledges the setting and suggests mitigations like external identity providers. codinghorror points out existing rate limits. Watson clarifies that a setting to hide email existence can be enabled in site settings, with a screenshot provided. JammyDodger links to the relevant commit and pull request, noting the feature was extended to include invite screens.

The password reset logic confirms whether en email exists in the user database. This is generally considered bad practice as it enables malicious users to “query” discourse user db. DigitalOcean is a good example of being vague about the provided email, “if the email you specified exists in our system, we’ve sent a password reset link to it”

إعجابَين (2)

If you want this, enable it in site settings. Already exists.

By default we tell people since they can never remember which of their 10 email addresses they signed up with, so it is user hostile to force them to walk through all 10 emails to figure out which one they used on your site.

5 إعجابات

The signup form already gives away if an email address already exists (and turning that off doesn’t make sense) so it doesn’t really matter here, it doesn’t make that attack vector go away and it only makes things harder for users who actually forgot their password (or: forgot their email address)

6 إعجابات

@codinghorror thanks I didn’t know there’s a setting for it
@michaeld yes, it is true that the sign up form confirms for the existence of an email but one can reduce the email visibility by integrating Discourse with external identity providers or creating a custom sign up form with CAPTCHA.

There are already rate limits on these forms, try it yourself.

أفترض أن هذا كان منشورًا قديمًا، ولكن في حال واجه أي شخص آخر هذه المشكلة وكان قلقًا بشأن قدرة الأشخاص على البحث عن رسائل البريد الإلكتروني لأعضاء المجتمع الحاليين، يبدو أن discourse نفذت إصلاحًا بسيطًا لذلك. في الإعدادات، ابحث عن “إخفاء عنوان البريد الإلكتروني المستخدم” وقم بتمكينه. سيمنع هذا المستخدمين من استخدام “نسيت كلمة المرور” للاستعلام عن رسائل البريد الإلكتروني في الخادم الخاص بك.

إعجاب واحد (1)

فقط لربط هذا، تمت إضافته في هذا الالتزام كجزء من هذا الموضوع - Hide 'email account exists' for invites :partying_face:\n\n\nhttps://github.com/discourse/discourse/pull/16703\n\nلا، لم أكن منتبهًا. :slight_smile: كان ذلك لتوسيع هذا الإعداد ليشمل شاشة الدعوة. ومع ذلك، إضافة مثيرة للاهتمام يسعدني أنني ذكرتها. :slight_smile:

مغلق لصالح Email enumeration vulnerability on "Password Reset" dialogue