June 26, 2017 By Larry Loeb 2 min read

The Institute of Electrical and Electronic Engineers (IEEE) recently published a paper detailing a new type of man-in-the-middle (MitM) attack that enables malicious actors to perform password resets on victims’ devices.

In their paper, “The Password Reset MitM Attack,” researchers from the College of Management Academic Studies, Israel, explained that cybercriminals could exploit the similarities between the registration and password reset processes to compromise accounts on a number of popular websites and mobile messaging applications, including Snapchat, Yahoo, Google, LinkedIn and Facebook.

Unmasking the Man in the Middle

To carry out this kind of attack, a threat actor must first control a website that a victim wishes to access, according to Help Net Security. After the victim registers with the site to gain access, the attacker steals his or her information to initiate a password reset on another site, which typically does not require the original password.

The target site prompts the victim to respond to security questions, the answers of which end up in the attacker’s hands.

Bypassing 2FA

Some sites use SMS-based two-factor authentication (2FA) to add a level of complexity to the password reset process. Like most security measures, however, cybercriminals have figured out a tricky way to beat it.

First, the attack site prompts the user to enter his or her phone number, ostensibly for verification. Next, the victim received a security code from the target site in a text message. That code is then passed, inadvertently, from the victim to the threat actor, who can use it to harvest the reset password.

According to the researchers, many users ignore the origin of the 2FA message, even if it comes from an unexpected source.

Reinforcing the Password Reset Process

The researchers advised affected organizations to avoid using static security questions on their sites and to render password reset codes invalid after a short time. Online services should also add email notifications to the reset process. Finally, users should be required to click a link, not just enter a code, to activate a new password.

Although the researchers did not report any actual attacks that have used this method, their analysis of potential vulnerabilities should put security professionals on notice.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today