HexBrain

U.S. Dept Of Defense · Report #520842

Email PII disclosure due to Insecure Password Reset field

Validstatus
mediumseverity
6upvotes
2 Dec 2019disclosed

Summary

An account re-activation field leaked user emails if you knew the correct username. Additionally the usernames seemed to correlate to predominately first or last names, I was able to brute force the end point with a list of first/last names and was able to extract a list of emails, some of which were military or university emails.

How it was found

Summary: I revisited report #235041 and discovered the vulnerability isn't patched properly as I was able to discover more emails I could gleam. It appears the core mechanism allows anyone who knows specific names or user names to leak sensitive emails Description: This password reset field allows an attacker to guess at user accounts such as admin and it will then expose the account user's email, this coupled with the lack of rate limiting allows me to easily bruteforce through a list of names to grab various sensitive emails. Normally password reset fields keep the account emails hidden to prevent any attempt to directly attack the user, for example phishing emails.

Impact

medium-high

Step-by-step Reproduction Instructions

First we visit, https://██████████/griduc/accounts/request_reactivation/ Then we type in Alex, and click reset. Observe the email █████ is leaked

I was able to discover few other emails as well,
Bryan =█████████ knowles = █████ bein

Product, Version, and Configuration (If applicable)

N/A

Suggested Mitigation/Remediation Actions

As per my previous report, I'd say the same solution is needed. I would recommend changing the account reset field to log any attempts for password resets to check for any malicious or abusive attempts to harvest account names, set a limit for amount of requests for the field, and additionally make a general message such as "We have sent the reset request to the email you used on registration"

My current theories either point to a possible code reversion or simply just removing the accounts i used to previously test

Impact

Attackers will be able to grab sensitive emails which can be targeted directly for phishing attacks or simple hijacked if the user in question reused their password and it has been previously leaked

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original