• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia
TechBusinessperson of the Year

Facebook Awards Server-Crushing Hacker With Its Biggest Ever Bounty

Robert Hackett
By
Robert Hackett
Robert Hackett
Down Arrow Button Icon
January 19, 2017, 2:20 PM ET
Facebook Said to Boost IPO By 25% To 421 Million Shares
A man stands in front of a monitor displaying the Facebook Inc. website in this arranged photograph in Tokyo, Japan, on Wednesday, May 16, 2012. Facebook Inc. is boosting the number of shares for sale in its initial public offering to 421 million, letting it raise as much as $16 billion, two people with knowledge of the deal said. Photographer: Tomohiro Ohsumi/Bloomberg via Getty ImagesTomohiro Ohsumi—Bloomberg via Getty Images

Facebook has awarded a white hat hacker its biggest ever bounty for reporting a severe vulnerability affecting the company’s servers.

Facebook paid Andrew Leonov, a Russian security researcher, $40,000 for discovering that Facebook was susceptible to a “remote code execution” flaw in ImageMagick, a popular open-source software tool for editing photos. The flaw would have allowed hackers to hide computer-compromising code in image files that they upload to the site.

Originally discovered last spring, the bug affected countless websites using the ubiquitous photo-tweaking software ImageMagick. Facebook’s security team attempted to patch the issue last year, but Leonov found that he could circumvent the fix that the team had put in place.

Get Data Sheet, Fortune’s technology newsletter.

To fix the vulnerability, Facebook’s engineers, like many others, simply added rules to its web application firewall, a tool that monitors, filters, and blocks Internet traffic. The measure was not foolproof, as Leonov figured out months later.

The revelation came one Saturday in October when Leonov was poking around “some big service (not Facebook),” he wrote in a recent post on his personal blog. His suspicions were piqued after he was redirected to the social network by way of a “share on Facebook” pop-up box and, for some reason, a picture failed to render properly.

Initially, Leonov assumed the problem related to a type of vulnerability that lets attackers create requests from servers behind firewalls. He kept digging until he realized the real problem.

For more on Facebook and hackers, watch:

Facebook had used a vulnerable ImageMagick library in its image converter, Leonov found. He then devised a way to bypass the network’s firewall defenses with some code of his own, and he reported the problem to Facebook on Oct. 16.

Within three days, Facebook had patched the hole. By early November, Leonov had received his reward through Bugcrowd, a bug bounty startup that counts Fiat Chrysler (FCAU), Western Union (WU), and Twilio (TWLO) among its customers.

“I am glad to be the one of those who broke the Facebook,” Leonov wrote, celebrating the achievement on his blog.

https://twitter.com/alexstamos/status/821415424558440448

“Great bug from a responsible reporter,” Alex Stamos, Facebook’s information security chief, said in a post on Twitter this week.

Facebook confirmed with Fortune that this is the company’s largest bug bounty payout to date. A spokesperson said that the company was unaware of anyone exploiting the issue before Leonov’s report.

Facebook’s next highest payout for a bug bounty was $35,000 in January 2014. The company awarded the sum to Reginaldo Silva, a Brazilian security researcher who discovered a different remote code execution flaw that affected the site’s login process.

Facebook has long lauded the efficacy of bug bounties, having paid more than $5 million to ethical hackers since debuting its program in 2011. Other organizations such as Microsoft, Google, Uber, Apple, and even the United States Department of Defense, sponsor bug bounty programs, too.

About the Author
Robert Hackett
By Robert Hackett
Instagram iconLinkedIn iconTwitter icon
See full bioRight Arrow Button Icon

Latest in Tech

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • Future 50
  • World’s Most Admired Companies
  • See All Rankings
Sections
  • Finance
  • Leadership
  • Success
  • Tech
  • Asia
  • Europe
  • Environment
  • Fortune Crypto
  • Health
  • Retail
  • Lifestyle
  • Politics
  • Newsletters
  • Magazine
  • Features
  • Commentary
  • Mpw
  • CEO Initiative
  • Conferences
  • Personal Finance
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
About Us
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Fortune
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map

© 2025 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.


Latest in Tech

ChatGPT Atlas illustration.
AISecurity
OpenAI says AI browsers like ChatGPT Atlas may never be fully secure from hackers—and experts say the risks are ‘a feature not a bug’
By Beatrice NolanDecember 23, 2025
9 minutes ago
SuccessSmall Business
10 crucial insights for small business owners to succeed in 2026—and beyond
By Ashley LutzDecember 23, 2025
1 hour ago
Photo of Sam Altman
SuccessCareers
OpenAI’s CEO Sam Altman says in 10 years’ time college graduates will be working ‘some completely new, exciting, super well-paid’ job in space
By Preston ForeDecember 23, 2025
2 hours ago
Kurian
AIGoogle
Google Cloud chief reveals the long game: a decade of silicon and the energy battle behind the AI boom
By Nick LichtenbergDecember 23, 2025
2 hours ago
Rows of servers at Facebook's Fort Worth Data Center in Texas.
EconomyTech
A huge chunk of U.S. GDP growth is being kept alive by AI spending ‘with no guaranteed return,’ Deutsche Bank says
By Jim EdwardsDecember 23, 2025
4 hours ago
InvestingIPOs
Hong Kong tops global IPO charts for the first time since 2019 for total funds raised, overtaking New York’s stock exchanges
By Angelica AngDecember 23, 2025
5 hours ago

Most Popular

placeholder alt text
Success
Billionaire philanthropy's growing divide: Mark Zuckerberg stops funding immigration reform as MacKenzie Scott doubles down on DEI
By Ashley LutzDecember 22, 2025
22 hours ago
placeholder alt text
Success
Former U.S. Secret Service agent says bringing your authentic self to work stifles teamwork: 'You don’t get high performers, you get sloppiness'
By Sydney LakeDecember 22, 2025
1 day ago
placeholder alt text
Travel & Leisure
After pouring $450 million into Florida real estate, Larry Ellison plans to lure the ultrarich to an exclusive town just minutes from Mar-a-Lago
By Marco Quiroz-GutierrezDecember 22, 2025
1 day ago
placeholder alt text
Future of Work
Meet a 55-year-old automotive technician in Arkansas who didn’t care if his kids went to college: ‘There are options’
By Muskaan ArshadDecember 21, 2025
2 days ago
placeholder alt text
Economy
Mitt Romney says the U.S. is on a cliff—and taxing the rich is now necessary 'given the magnitude of our national debt'
By Dave SmithDecember 22, 2025
23 hours ago
placeholder alt text
Success
Multimillionaire musician Will.i.am says work-life balance is for people ‘working on someone else’s dream’ and not for visionaries—he grinds from 5-to-9 after his 9-to-5
By Orianna Rosa RoyleDecember 21, 2025
2 days ago