• 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
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
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in Tech

Future of WorkElon Musk
Elon Musk says saving for retirement is irrelevant because AI is going to create a world of abundance: ‘It won’t matter’
By Marco Quiroz-GutierrezJanuary 12, 2026
9 hours ago
vervet
LawAnimals
Monkeys are on the loose in St. Louis, and AI-generated jokes are just slowing down animal control’s primate chase
By Heather Hollingsworth and The Associated PressJanuary 12, 2026
12 hours ago
google
AIApple
‘Apple Intelligence,’ powered by Gemini, marks a ‘major validation moment for Google,’ top tech analyst says
By Michael Liedtke and The Associated PressJanuary 12, 2026
12 hours ago
grok
AISocial Media
Grok blocked in Malaysia and Indonesia as sexual deepfake scandal builds
By Eileen Ng, Edna Tarigan and The Associated PressJanuary 12, 2026
12 hours ago
AIunemployment
‘Godfather of AI’ says the technology will create massive unemployment and send profits soaring — ‘that is the capitalist system’
By Jason MaJanuary 12, 2026
13 hours ago
Cryptocftc
An anonymous Polymarket trader made $400,000 betting on Maduro’s downfall—and now Washington wants answers
By Leo SchwartzJanuary 12, 2026
14 hours ago

Most Popular

placeholder alt text
Economy
‘Sell America’: Investors dump U.S. assets in fear of the end of Fed independence
By Jim EdwardsJanuary 12, 2026
20 hours ago
placeholder alt text
Economy
Treasury spent $276 billion in interest on the national debt in the final three months of 2025, says the CBO—up $30 billion from a year prior
By Eleanor PringleJanuary 12, 2026
19 hours ago
placeholder alt text
Success
An exec at $62 billion giant Colgate says Gen Z workers, despite getting flak for being woke and lazy, are actually ‘pushing us to get better’
By Emma BurleighJanuary 10, 2026
3 days ago
placeholder alt text
AI
This CEO laid off nearly 80% of his staff because they refused to adopt AI fast enough. 2 years later, he says he'd do it again
By Nick LichtenbergJanuary 11, 2026
2 days ago
placeholder alt text
Economy
A Supreme Court ruling that strikes down Trump's tariffs would be the fastest way to revive the stalling job market, top economist says
By Jason MaJanuary 11, 2026
1 day ago
placeholder alt text
Commentary
I run one of America's most successful remote work programs and the critics are right. Their solutions are all wrong, though
By Justin HarlanJanuary 11, 2026
2 days ago

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