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:

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

Advertisement. Scroll to continue reading.

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 managing 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

Trending

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.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

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...

CISO Strategy

Okta is blaming the recent hack of its support system on an employee who logged into a personal Google account on a company-managed laptop.

Compliance

Government agencies in the United States have made progress in the implementation of the DMARC standard in response to a Department of Homeland Security...

Email Security

Many Fortune 500, FTSE 100 and ASX 100 companies have failed to properly implement the DMARC standard, exposing their customers and partners to phishing...

Funding/M&A

The private equity firm merges the newly acquired ForgeRock with Ping Identity, combining two of the biggest names in enterprise IAM market.

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...

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...