Someone kept a gigantic database unlocked on the internet, allowing researchers (and likely, hackers, too) to find it.

source https://www.techradar.com/pro/security/massive-chinese-data-breach-allegedly-spills-8-7-billion-records-heres-what-we-know