Security Experts:

Connect with us

Hi, what are you looking for?



Facebook Patches Graph API Bug That Allowed Attackers to Delete Victims’ Photos

Facebook has fixed a security bug that could have allowed attackers to delete a user’s photos.

Facebook has fixed a security bug that could have allowed attackers to delete a user’s photos.

The bug was discovered by Laxman Muthiyah, who was awarded a $12,500 bounty for his finding. According to Facebook’s developer documentation, photo albums cannot be deleted using the album node in Graph API, he wrote in a blog post. After attempting to delete one of his own photo albums using the graph explorer access token, he received an error message that indicated to him that another application may have the ability to make this API call.

He eventually discovered that by using a mobile access token from his Android device, he was able to fool Facebook into deleting the photo album of another person.

Technical details of the proof-of-concept Muthiyah designed can be read here.

“We received a report about an issue with our Graph API and quickly fixed it within two hours of verifying the claims,” according to a Facebook spokesperson. “To be clear, triggering this issue would have required knowledge of the ID of the target photo album, as well as permission to view the album based on the album’s privacy settings. We’d like to thank the researcher who reported the issue to us through our bug bounty program.”

In practice Facebook probably operates rate limiting or other countermeasures that would prevent a single device from using this bug to engage in the mass deletion of photos – and even if it doesn’t, the social network is so large an attacker would probably struggle to delete albums as fast as people on Facebook create new ones, noted Mark Stockley on Sophos’ Naked Security blog.

“But that’s just a question of horsepower, and horsepower is easy on the internet – there are kids running botnets of 60,000 computers,” he wrote.

Muthiyah thanked Facebook for its quick response.

Written By

Click to comment

Expert Insights

Related Content

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

IoT Security

Lexmark warns of a remote code execution (RCE) vulnerability impacting over 120 printer models, for which PoC code has been published.

Mobile & Wireless

Apple rolled out iOS 16.3 and macOS Ventura 13.2 to cover serious security vulnerabilities.

Email Security

Microsoft is urging customers to install the latest Exchange Server updates and harden their environments to prevent malicious attacks.

Mobile & Wireless

Technical details published for an Arm Mali GPU flaw leading to arbitrary kernel code execution and root on Pixel 6.


Security researchers have observed an uptick in attacks targeting CVE-2021-35394, an RCE vulnerability in Realtek Jungle SDK.

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.


Google has awarded more than $25,000 to the researchers who reported the vulnerabilities patched with the release of the latest Chrome update.