Snapchat
Breach Date
December 31, 2013
Records Affected
4,700,000
Verified
Yes
Source
wikipedia
Summary
On December 31, 2013, an anonymous group exploited a vulnerability in Snapchat's API to harvest and publish the usernames and associated phone numbers of approximately 4.6 million Snapchat users. The data was posted on a website called SnapchatDB.info, with the last two digits of each phone number redacted. The attackers stated they released the data to raise public awareness about the vulnerability after Snapchat had failed to adequately address security researchers' warnings.
The exploit leveraged Snapchat's Find Friends feature, which allowed users to upload their phone contacts to discover which of their contacts were on Snapchat. Security research firm Gibson Security had publicly disclosed the vulnerability in Snapchat's API months earlier, in August 2013, demonstrating that the Find Friends API could be abused to enumerate phone numbers and match them to usernames at scale. Gibson Security had privately notified Snapchat about the issue before going public, but Snapchat's response was widely perceived as dismissive.
Snapchat acknowledged the vulnerability after the data leak but initially downplayed its severity, stating that the Find Friends feature included rate limiting and other safeguards. Security researchers and the attackers themselves disputed this characterization, demonstrating that the rate limiting could be easily circumvented. Snapchat subsequently updated the Find Friends feature to add the ability to opt out of the phone number lookup functionality and implemented additional rate limiting measures.
The incident occurred at a critical time for Snapchat, which had recently rejected a $3 billion acquisition offer from Facebook and was positioning itself as a major social media platform. The breach raised serious questions about the company's security maturity and its responsiveness to security researcher disclosures. In December 2014, the FTC reached a settlement with Snapchat over charges that the company had deceived users about its privacy practices and the security of its app, with the SnapchatDB incident cited as evidence of the company's security failings.
Breach Details
- Breach Date
- December 31, 2013
- Records Affected
- 4,700,000
- Source
- Wikipedia
- Verified
- Verified
- Industry
- Social/Entertainment
- Type
- Hacked
Impact Analysis
Scale of Impact
- 4.6 million usernames and phone numbers published on SnapchatDB.info
- Phone numbers published with last two digits redacted (but full numbers held by attackers)
- Primarily affected users in the United States (based on area codes in the published data)
- Data published during holiday period (New Year's Eve) when response capacity was reduced
Data Types Exposed
- Snapchat usernames
- Associated phone numbers (partially redacted in public release, full numbers held by attackers)
Financial Impact
| Category | Amount |
|---|---|
| FTC settlement (2014) | No monetary fine; consent decree requiring 20 years of independent security monitoring |
| Remediation costs | Undisclosed |
| Reputational damage during critical growth period | Significant |
Downstream Effects
- The mapping of real phone numbers to Snapchat usernames destroyed the pseudonymity that many users relied on, particularly younger users who used anonymous or creative usernames
- The data could be used for targeted harassment, stalking, or social engineering by linking real-world identities to Snapchat accounts
- The incident exposed a common vulnerability pattern in social media "friend finder" features that was later found in numerous other platforms
- Snapchat's dismissive response to security researchers before the breach became a cautionary tale about responsible disclosure handling
- The FTC consent decree required Snapchat to implement a comprehensive privacy program with independent monitoring for 20 years
Timeline
- August 2013: Security research firm Gibson Security privately notifies Snapchat about vulnerabilities in the Find Friends API that allow mass phone number enumeration
- August 2013: After receiving what they consider an inadequate response, Gibson Security publicly discloses the vulnerability and publishes proof-of-concept code
- December 25, 2013: Gibson Security publishes the full Snapchat API exploit code, making it easily accessible to anyone
- December 31, 2013: Anonymous attackers exploit the vulnerability to harvest 4.6 million username-phone number pairs and publish the data on SnapchatDB.info
- January 1, 2014: The data leak receives widespread media coverage
- January 1, 2014: Snapchat issues a blog post acknowledging the vulnerability but stating that it had implemented safeguards and that exploitation was theoretical
- January 2, 2014: Security researchers demonstrate that Snapchat's claimed safeguards are easily circumvented
- January 9, 2014: Snapchat releases an updated version of the app with improved Find Friends privacy controls and additional rate limiting
- January 2014: Snapchat CEO Evan Spiegel apologizes in a television interview for the company's slow response
- May 2014: FTC files complaint against Snapchat for deceptive privacy and security practices
- December 31, 2014: FTC announces consent decree requiring Snapchat to implement a comprehensive privacy program with 20 years of independent monitoring
Lessons Learned
1. Take Security Researcher Disclosures Seriously
Gibson Security warned Snapchat about the Find Friends vulnerability months before the breach. Snapchat's dismissive response allowed the vulnerability to persist until it was exploited at scale. Organizations must establish robust responsible disclosure programs and treat researcher reports with urgency, regardless of the company's assessment of exploitability.
2. Rate Limiting Alone Is Insufficient for Enumeration Protection
Snapchat claimed rate limiting protected the Find Friends API from abuse. The attackers demonstrated that rate limiting could be circumvented using distributed requests, virtual phone numbers, and other techniques. Enumeration protection requires multiple overlapping controls: rate limiting, CAPTCHAs, anomaly detection, account-level restrictions, and architectural changes that prevent bulk data extraction.
3. Friend Finder Features Are Inherently Risky
The "upload your contacts to find friends" pattern is a powerful growth mechanism but creates an enumeration oracle: it tells attackers which phone numbers are associated with accounts. This same vulnerability pattern has been found in Facebook, Twitter, WhatsApp, and numerous other platforms. Organizations must design friend finder features with enumeration resistance from the start.
4. Holiday Timing Amplifies Breach Impact
The data was released on New Year's Eve, when corporate response capacity was reduced. The timing appeared deliberate. Organizations must maintain incident response capability during holidays and weekends, as attackers frequently time their actions to exploit reduced staffing.
5. Dismissing Vulnerabilities Publicly Invites Exploitation
Snapchat's public dismissal of the vulnerability after Gibson Security's disclosure may have motivated the attackers, who explicitly stated their goal was to force Snapchat to take the issue seriously. Publicly minimizing reported vulnerabilities can escalate the situation from responsible disclosure to adversarial exploitation.
Technical Details
Attack Vector
- API Enumeration: Attackers exploited Snapchat's Find Friends API, which accepted phone numbers and returned matching Snapchat usernames
- Bulk Querying: By systematically querying every possible phone number in U.S. area code ranges, attackers mapped phone numbers to Snapchat usernames at scale
- Rate Limiting Bypass: Snapchat's rate limiting was circumvented through distributed requests from multiple IP addresses and/or accounts
- Data Collection: Approximately 4.6 million username-phone number pairs were collected
- Public Release: Data published on SnapchatDB.info with last two digits of phone numbers redacted
Technical Details of the Vulnerability
The Find Friends feature worked as follows:
- User uploads phone contacts to Snapchat's API endpoint
- API checks each phone number against the user database
- API returns which phone numbers have associated Snapchat accounts, along with the usernames
The vulnerability arose because:
- No effective rate limiting: The API allowed rapid sequential queries without meaningful throttling
- No verification: The API did not verify that the submitted phone numbers were actually in the user's contacts
- Enumeration oracle: The API explicitly returned whether each phone number was registered, enabling systematic enumeration
- No CAPTCHA: No human verification was required to make API calls
Gibson Security's Disclosure
Gibson Security published:
- Documentation of the vulnerable API endpoints
- Proof-of-concept code demonstrating mass phone number enumeration
- An estimate that the entire U.S. Snapchat user base could be enumerated within a few hours
- Recommendations for Snapchat to fix the vulnerability (rate limiting, verification, opt-out)
SnapchatDB.info
- Data Published: 4.6 million username-phone number pairs
- Redaction: Last two digits of each phone number masked
- Format: Downloadable SQL and CSV files
- Statement: The publishers stated their goal was to raise awareness and pressure Snapchat to fix the vulnerability
- Takedown: The website was taken offline shortly after publication, but the data had already been widely mirrored
Frequently Asked Questions
What happened in the Snapchat breach?
On December 31, 2013, attackers exploited a vulnerability in Snapchat's Find Friends API to harvest approximately 4.6 million Snapchat usernames matched to phone numbers. The data was published on a website called SnapchatDB.info with the last two digits of phone numbers redacted.
Was Snapchat warned about this vulnerability?
Yes. Security research firm Gibson Security privately notified Snapchat about the vulnerability in August 2013 and, after receiving what they considered an inadequate response, publicly disclosed the vulnerability along with proof-of-concept code. Snapchat did not adequately address the issue before the December 31 exploit.
What data was exposed?
The published data included Snapchat usernames and their associated phone numbers. The phone numbers were partially redacted (last two digits masked) in the public release, but the attackers held the complete, unredacted data.
What penalties did Snapchat face?
In December 2014, the FTC reached a consent decree with Snapchat over deceptive privacy and security practices. While no monetary fine was imposed, Snapchat was required to implement a comprehensive privacy program subject to independent security monitoring for 20 years. The SnapchatDB incident was cited as evidence of Snapchat's security failings.
Why did the attackers release the data?
The attackers stated they published the data to raise public awareness about the vulnerability and to pressure Snapchat into fixing it. They released the data with partial redaction (last two digits of phone numbers masked), claiming they did not want to cause direct harm but wanted to demonstrate the severity of the issue.
Is the Find Friends vulnerability still exploitable?
Snapchat updated the Find Friends feature in January 2014 to add opt-out functionality and improved rate limiting. Subsequent updates have further strengthened enumeration protections. However, the general pattern of "contact upload for friend discovery" remains an inherent privacy risk across social media platforms, and similar vulnerabilities have been found in other services.
Protect Your Organization From Data Breaches
Our security experts can help you identify vulnerabilities and strengthen your defenses.