MongoDB

WikipediaVerified

Breach Date

May 1, 2019

Records Affected

275,000,000

Verified

Yes

Source

wikipedia

Summary

In May 2019, security researcher Bob Diachenko discovered an unsecured MongoDB database hosted on Amazon AWS that contained the personal records of 275,265,298 Indian citizens. The database required no authentication whatsoever — no password, no access controls, no encryption — and was fully accessible to anyone on the internet. The exposed data included names, email addresses, gender, dates of birth, phone numbers, detailed education histories, professional skills, employment records, employer names, and salary information.

The data appeared to have been scraped from Indian job application websites, containing the kind of detailed professional profiles that candidates submit when seeking employment. Despite extensive investigation, the owner of the database was never identified. Diachenko reported the exposure to CERT-In (India's Computer Emergency Response Team) on May 1, 2019, but the database remained publicly accessible for more than two weeks before it was taken offline — and not by its owner. On May 8, the database was wiped by a group known as "Unistellar," a prolific hacking collective that systematically targeted unprotected MongoDB instances during this period, either destroying data or replacing it with ransom demands.

The incident exemplifies a class of data exposure that became epidemic in 2018-2019: misconfigured cloud databases left open to the internet without any authentication. Unlike sophisticated hacking operations, these exposures require no technical skill to exploit — only the knowledge of where to look. For the 275 million individuals whose data was exposed, the combination of personal identifiers, contact information, and detailed employment histories creates a comprehensive profile that enables targeted identity theft, phishing, and social engineering attacks.

Breach Details

Breach Date
May 1, 2019
Records Affected
275,000,000
Source
Wikipedia
Verified
Verified
Industry
Technology
Type
Poor Security

Impact Analysis

Scale of Impact

  • 275,265,298 records of Indian citizens exposed
  • No authentication required — data was accessible to anyone on the internet
  • Exposed for 2+ weeks before being taken offline (by attackers, not the owner)
  • Owner never identified — affected individuals could not be notified through the responsible party

Data Types Exposed

  • Full names
  • Email addresses
  • Gender
  • Dates of birth
  • Phone numbers
  • Education history (institutions, degrees, years)
  • Professional skills
  • Employment history (positions, durations)
  • Current and past employer names
  • Salary information

Risk Assessment

Risk CategorySeverityDescription
Identity theftCriticalFull names, DOB, email, and phone create complete identity packages
Employment fraudCriticalDetailed employment histories enable fraudulent job references and impersonation
Targeted phishingHighSalary data combined with employer names enables convincing financial phishing
Tax fraudHighPersonal identifiers and income information facilitate fraudulent tax filings
Recruitment scamsHighJob seeker profiles make targets receptive to fake job offer schemes
Social engineeringMediumComprehensive professional profiles enable highly personalized attacks

Unique Characteristics

This breach stands out for several reasons:

  1. No owner identified: Unlike most breaches where a responsible party is known, the database owner was never found. This means no entity took responsibility, no breach notifications were issued, and no remediation occurred.
  2. Job seeker data: The exposed data came from employment applications, meaning it was voluntarily provided by individuals seeking jobs — a particularly vulnerable population.
  3. Salary information: The inclusion of salary data is uncommon in breaches and significantly increases the value of the dataset for targeted financial fraud.
  4. Destruction rather than theft: The Unistellar group's deletion of the database may have actually limited the exposure, though the data had already been accessible for weeks and may have been downloaded by unknown parties.

Timeline

  • Unknown date (prior to May 2019): An unidentified party creates a MongoDB database on Amazon AWS containing 275 million records of Indian citizens, with no authentication configured
  • Unknown date: Data is scraped or aggregated from Indian job application websites and loaded into the database
  • May 1, 2019: Security researcher Bob Diachenko discovers the unprotected MongoDB instance during routine internet scanning
  • May 1, 2019: Diachenko reports the exposure to CERT-In (Indian Computer Emergency Response Team)
  • May 1-8, 2019: The database remains publicly accessible despite the CERT-In notification; the owner cannot be identified or contacted
  • May 8, 2019: The "Unistellar" hacking group accesses the database and wipes its contents, part of a larger campaign targeting exposed MongoDB instances
  • May 2019: Diachenko publishes findings, noting the database had been exposed for at least two weeks before discovery
  • Post-May 2019: Database owner is never identified; no breach notification is issued to affected individuals

Lessons Learned

1. Default-Deny Authentication Is Non-Negotiable

The MongoDB database had no authentication configured — a single configuration setting that would have prevented the entire exposure. Older MongoDB versions shipped with authentication disabled by default, a design decision that directly contributed to thousands of similar exposures. Every database and data store must require authentication before granting any access, and cloud deployments should enforce this through infrastructure-as-code policies.

2. Cloud Providers Share Responsibility

While AWS provided the infrastructure, the misconfiguration was the deployer's responsibility. However, cloud providers have since introduced guardrails (AWS's Block Public Access for S3, MongoDB Atlas's built-in security) that prevent the most dangerous misconfigurations. Organizations should use managed database services with security defaults rather than self-managing database instances on raw cloud infrastructure.

3. Data Without an Owner Is Data Without Protection

The fact that the database owner was never identified meant no one took responsibility for notification, remediation, or prevention. This highlights the danger of shadow IT and unmanaged data stores. Organizations must maintain inventories of all data assets, including cloud deployments, and ensure every data store has a clearly identified owner.

4. Scraped Data Aggregation Creates Massive Risk

The data appeared to have been scraped from job application platforms and aggregated into a single database. This aggregation transformed individually low-risk data points into a comprehensive identity profile. Data scrapers and aggregators must be held to the same security standards as primary data collectors.

5. Internet Scanning Is Both a Threat and a Defense

Bob Diachenko found this database through routine internet scanning — the same technique that malicious actors use to find exposed databases. Organizations should proactively scan their own infrastructure for exposed services, and security researchers performing responsible disclosure play a critical role in identifying exposures before they are exploited at scale.

6. Incident Response Requires Identifiable Parties

CERT-In was notified but had limited ability to act because the database owner could not be identified. Regulatory frameworks should require cloud infrastructure providers to maintain identifiable contact information for all deployments, enabling faster incident response when exposures are discovered.

Technical Details

Exposure Vector: Misconfigured MongoDB

The database was a MongoDB instance running on Amazon AWS with the following critical misconfigurations:

  1. No authentication: MongoDB was configured without any authentication mechanism — no username, no password, no certificate-based auth
  2. Public network binding: The database was bound to 0.0.0.0 (all network interfaces), making it accessible from any IP address on the internet
  3. No firewall rules: No AWS Security Group or network ACL restricted inbound access to the MongoDB port (default: 27017)
  4. No encryption: Data was stored and transmitted without encryption

MongoDB Exposure Epidemic (2017-2019)

This incident was part of a massive wave of MongoDB exposures that affected tens of thousands of databases worldwide:

  • Root cause: MongoDB versions prior to 2.6.0 shipped with authentication disabled by default and bound to all interfaces
  • Scale: Researchers estimated over 60,000 MongoDB instances were publicly exposed during this period
  • Attacks: Groups like "Unistellar," "Cru3lty," and others systematically targeted exposed instances, wiping data and demanding ransoms

Data Origin Analysis

The data structure strongly suggested scraping from Indian job portal websites:

- Candidate personal details (name, DOB, gender, contact)
- Educational qualifications (institution, degree, year)
- Professional skills (keyword-based skill lists)
- Employment history (company, role, duration, salary)

The uniformity of the data format and the presence of fields typical of Indian job portals (like specific educational board names and Indian salary structures) confirmed the scraping hypothesis. The aggregation of data from multiple sources into a single database suggests the collector was building a recruitment database or data product.

Unistellar Destruction Event

On May 8, 2019, the Unistellar group wiped the database contents. This group's typical modus operandi was:

  1. Scan for exposed MongoDB instances using tools like Shodan or Masscan
  2. Connect to unprotected databases
  3. Export or drop all collections
  4. Leave a ransom note demanding Bitcoin payment for data recovery
  5. Move to the next target

While the destruction may have limited ongoing exposure, it also destroyed any forensic evidence that could have identified the database owner or determined how long the data had been accessible.

Discovery Method

Bob Diachenko, a security researcher specializing in exposed database discovery, found the MongoDB instance through:

  1. Internet-wide scanning: Using tools like BinaryEdge or Shodan to identify MongoDB instances exposed on port 27017
  2. Authentication check: Attempting connection without credentials
  3. Data assessment: Examining the database contents to assess the sensitivity and scale of the exposure
  4. Responsible disclosure: Reporting to CERT-In as the appropriate national authority for Indian data

AWS Infrastructure

The database was hosted on Amazon AWS, likely on an EC2 instance with a self-managed MongoDB installation (not MongoDB Atlas, which includes default security controls). The deployer configured an AWS Security Group that allowed inbound traffic on port 27017 from 0.0.0.0/0 — effectively opening the database to the entire internet.

Frequently Asked Questions

How many people were affected?

275,265,298 individual records were exposed. All records belonged to Indian citizens. Given India's population at the time (approximately 1.37 billion), this represents roughly 20% of the country's population.

Who owned the database?

The database owner was never identified. Despite investigation by security researcher Bob Diachenko and notification to CERT-In, no individual or organization claimed ownership. The data appeared to have been scraped from Indian job application websites and aggregated for unknown purposes — possibly for building a recruitment database or data product.

How was the database found?

Security researcher Bob Diachenko discovered the exposed MongoDB instance on May 1, 2019, during routine internet scanning for misconfigured databases. The database required no authentication and was fully accessible to anyone who knew its IP address.

How long was the data exposed?

The exact duration of exposure is unknown, but it was publicly accessible for at least two weeks before being taken offline. Diachenko reported it to CERT-In on May 1, and the database was not removed until May 8 — when the Unistellar hacking group wiped its contents.

What happened to the data?

On May 8, 2019, the Unistellar hacking group deleted the database contents as part of their ongoing campaign of targeting exposed MongoDB instances. However, during the weeks the database was publicly accessible, it may have been downloaded by unknown third parties. There is no way to confirm whether the data was copied before deletion.

Why was the MongoDB database unprotected?

Older versions of MongoDB shipped with authentication disabled by default — a design decision that led to thousands of similar exposures between 2017 and 2019. The deployer also failed to configure AWS Security Groups to restrict inbound access. Modern MongoDB versions (3.6+) bind only to localhost by default, and MongoDB Atlas (the managed service) includes authentication by default.

Were affected individuals notified?

No. Because the database owner was never identified, no breach notifications were issued. The 275 million affected individuals were likely never informed that their personal data — including employment histories, salaries, and contact details — was exposed on the open internet.

Back to Breach Database
Breach data sourced from Wikipedia: List of data breaches, licensed under CC BY-SA 3.0.

Protect Your Organization From Data Breaches

Our security experts can help you identify vulnerabilities and strengthen your defenses.