March 27, 2015 By Douglas Bonderud 2 min read

Instagram is one of the most popular social media apps, with more than 200 million users and a relatively solid track record when it comes to vulnerabilities. However, according to Threatpost, security researcher David Sopas of WebSegura has discovered a potentially massive hole in the Instagram application programming interface (API) — and so far, the picture-sharing site doesn’t seem keen on fixing the issue.

Reflected Dangers of Instagram API

According to Sopas, Instagram’s problem stems from a new attack technique called the reflected file download (RFD). First identified by Oren Hafif of Trustwave SpiderLabs, RFDs allow malicious actors to create links that make it appear that files are being hosted by trusted domains, such as Google, Bing or Instagram. In fact, response content in the form of malicious files are created on the fly by Web browsers. The result is malware downloads that require no uploads. For this type of attack to work, the three following elements must be present:

  • Some user input must be “reflected” to create the response content.
  • The URL or API of the site being used must accept additional commands.
  • Downloadable files must be created on the fly.

Finding Focus

So how does this apply to the Instagram API? Sopas said the site’s programming interface can be modified by entering a batch command in the “bio” field, which fills the role of persistent reflected content. The only caveat? Attackers need a token to start the process, which can be easily obtained by creating a new account. Using Chrome, Opera, Chrome for Android — the Android stock browser — and, in some cases, Firefox, Sopas was able to generate an email link that appears to point to a legitimate Instagram domain. In fact, it takes users to an attacker-controlled Web page.

As far as Sopas is concerned, “RFD is very dangerous, and combined with other attacks like phishing or spam, it could lead to massive damage.”

Instagram’s response? Not much. A spokesperson said the RFD issue discovered by Sopas doesn’t fall under the company’s bug bounty program because it “excludes reports which have no practical security implications, as well as social engineering techniques that require significant interaction from the victim.”

In other words, the social site sees this problem as an unlikely circumstance that demands work from both malicious actors and victims. However, in the event of a successful RFD attack that also leverages a targeted phishing campaign, a host of fake download links crop up that cannot be differentiated from the real thing. While users are always best to avoid clicking any in-email links, this type of masking technique could easily fool even savvy technophiles. Without the need to upload any malware to initiate the download process, catching the culprits will be no easy task.

The big picture? Instagram’s API has a flaw, and so far, there’s no fix. Security researchers say it poses a large risk, while the company considers it a minor irritant. With RFD poised to make significant inroads as a new attack vector, however, a new best practice emerges: Carefully filter all email for the mark of duplicitous domains.

Image Source: Flickr

More from

What we can learn from the best collegiate cyber defenders

3 min read - This year marked the 19th season of the National Collegiate Cyber Defense Competition (NCCDC). For those unfamiliar, CCDC is a competition that puts student teams in charge of managing IT for a fictitious company as the network is undergoing a fundamental transformation. This year the challenge involved a common scenario: a merger. Ten finalist teams were tasked with managing IT infrastructure during this migrational period and, as an added bonus, the networks were simultaneously attacked by a group of red…

A spotlight on Akira ransomware from X-Force Incident Response and Threat Intelligence

7 min read - This article was made possible thanks to contributions from Aaron Gdanski.IBM X-Force Incident Response and Threat Intelligence teams have investigated several Akira ransomware attacks since this threat actor group emerged in March 2023. This blog will share X-Force’s unique perspective on Akira gained while observing the threat actors behind this ransomware, including commands used to deploy the ransomware, active exploitation of CVE-2023-20269 and analysis of the ransomware binary.The Akira ransomware group has gained notoriety in the current cybersecurity landscape, underscored…

New proposed federal data privacy law suggests big changes

3 min read - After years of work and unsuccessful attempts at legislation, a draft of a federal data privacy law was recently released. The United States House Committee on Energy and Commerce released the American Privacy Rights Act on April 7, 2024. Several issues stood in the way of passing legislation in the past, such as whether states could issue tougher rules and if individuals could sue companies for privacy violations. With the American Privacy Rights Act of 2024, the U.S. government established…

Topic updates

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