Flickr account hijack flaw earns researcher $7k (ZDNet)

screen-shot-2017-05-02-at-08-48-37.jpg

CNET

Yahoo has awarded a researcher $7,000 for disclosing a Flickr security flaw which enabled attackers to hijack user accounts without limit.

The issue, patched on 10 April, permitted attackers to intercept and grab access tokens by circumventing Flickr protections.

According to security researcher Michael Reizelman who privately disclosed the bug to Yahoo-owned photo and video-sharing website Flickr before making the details public, the problem was caused by the way Flickr handled access tokens.

When a user wants to login to Flickr.com, they click a sign-in button which redirects them to a Yahoo account login page. After being prompted to enter their credentials and completing the form to login, the user is directed first to a Yahoo endpoint where the credentials are verified. If valid, they are then redirected back to a Flickr URL.

However, if the user is already logged into Yahoo and clicks the initial sign-in Flickr link, then only one click is needed for verification. With this in mind, Reizelman investigated and found that the .done parameter, which controls where login tokens are sent, can be manipulated.

While Flickr already has some endpoint protections in place to prevent tokens from being leaked to external servers, tweaking an URL and adding a backslash bypasses these protections through the Flickr forum.

The researcher then discovered a way to leak user account tokens to his own server by posting crafted images which forced the Flickr service to relinquish the tokens on forum pages which did not have Content Security Policy protections in place.

See also: Wassenaar Arrangement: When small words have the power to shatter security

Should a user click on a malicious link posted within the forum, the redirection code would then send the authentication token to an attacker’s server and allow the threat actor to browse the site using the victim’s account.

“An attacker had a complete access to the victim’s account,” Reizelman told ThreatPost. “He actually was logged in to the site with the victim’s account, so he could do any action on the victim’s behalf: uploading content, deleting it, or any other thing he wants.”

Once disclosed through Yahoo’s bug bounty program hosted on HackerOne’s platform on 2 April, the issue was investigated within 24 hours. It took the Flickr team a further week to resolve the issue and prepare for public disclosure. The researcher was then awarded his bounty.

Bug bounties are becoming a popular way to entice skilled security researchers to ferret out security flaws in products and services before attackers do. Last week, the US Air Force invited hackers to do their worst and find security vulnerabilities in the military’s websites.

Source: SANS ISC SecNewsFeed @ May 2, 2017 at 06:09AM

0
Share