Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Identity & Access

Researcher Gets $13,000 for Microsoft Authentication Flaw

Microsoft has patched a serious authentication vulnerability that could have been exploited to gain access to Outlook, Azure and Office accounts, a researcher reported over the weekend.

Microsoft has patched a serious authentication vulnerability that could have been exploited to gain access to Outlook, Azure and Office accounts, a researcher reported over the weekend.

The flaw was discovered by UK-based security consultant Jack Whitton, who has taken part in the bug bounty programs of several major companies, including Uber’s recently launched program.

The issue was reported to Microsoft on January 24 and it was patched within two days. Whitton told SecurityWeek that Microsoft paid him $13,000 for responsibly disclosing the security bug.

Microsoft handles authentication for online services like Outlook, Office and Azure via requests to login.live.com, login.microsoftonline.com and login.windows.net. When a user browses to outlook.office.com, for example, they are redirected to a login.microsoftonline.com URL that includes a parameter, named “wreply,” which specifies the domain the user wants to access.

If the user is already logged in, a POST request is sent to the domain specified in wreply with a login token. The domain the user wants to authenticate on consumes that token and the login process is completed.

Whitton discovered that the authentication URL is vulnerable to cross-site request forgery (CSRF) attacks, allowing a malicious actor to create a specially crafted URL, which, when accessed by an authenticated user, would send the login token to a server controlled by the attacker.

The legitimate URL looks like this:

Advertisement. Scroll to continue reading.

https://login.microsoftonline.com/login.srf?wa=wsignin1.0&rpsnv=4&wreply=https%3a%2f%2foutlook.office.com%2fowa%2f&id=260563

And the attacker could set the redirect to this:

https%3a%2f%2foutlook.office.com%[email protected]%2fmicrosoft%2f%3f

The expert found that this would cause the login token to be sent to the attacker’s website, which in this case is poc-ssl.fin1te.net. Using the token, the attacker could have gained complete access to the targeted user’s account.

“The token is only valid for the service which issued it – an Outlook token can’t be used for Azure, for example. But it’d be simple enough to create multiple hidden iframes, each with the login URL set to a different service, and harvest tokens that way,” Whitton explained in a blog post.

Whitton pointed out that this vulnerability is similar to a CSRF issue reported last year by Wesley Wineberg, senior security research engineer at Synack. The main difference between the flaws is that the one discovered by Wineberg affected Microsoft’s OAuth mechanism, while the one identified by Whitton affected Microsoft’s main authentication system.

Wineberg earned $24,000 for reporting the bug during a period when Microsoft had doubled rewards for vulnerabilities found in login.windows.net, login.microsoftonline.com and login.live.com.

Related Reading: Microsoft Adds OneDrive to Bug Bounty Program

Written By

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Threat Detection and Incident Response Summit brings together security practitioners from around the world to share war stories on breaches, APT attacks and threat intelligence.

Register

Securityweek’s CISO Forum will address issues and challenges that are top of mind for today’s security leaders and what the future looks like as chief defenders of the enterprise.

Register

Expert Insights

Related Content

Identity & Access

Zero trust is not a replacement for identity and access management (IAM), but is the extension of IAM principles from people to everyone and...

Identity & Access

Hackers rarely hack in anymore. They log in using stolen, weak, default, or otherwise compromised credentials. That’s why it’s so critical to break the...

Application Security

Fortinet on Monday issued an emergency patch to cover a severe vulnerability in its FortiOS SSL-VPN product, warning that hackers have already exploited the...

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Application Security

Password management firm LastPass says the hackers behind an August data breach stole a massive stash of customer data, including password vault data that...

Application Security

Microsoft on Tuesday pushed a major Windows update to address a security feature bypass already exploited in global ransomware attacks.The operating system update, released...

Application Security

Electric car maker Tesla is using the annual Pwn2Own hacker contest to incentivize security researchers to showcase complex exploit chains that can lead to...

Identity & Access

NSA publishes recommendations on maturing identity, credential, and access management capabilities to improve cyberthreat protections.