Summary

In the normal course of scanning for open/exposed/vulnerable Amazon S3 buckets, Someone discovered a bucket containing roughly 3,000 imaged of Permanent Account Number (PAN) cards and National ID (Aadhaar) cards from India.

After concluding the images and PDFs appeared to be sensitive identification documents he immediately attempted to make contact with India’s CERT team to notify them of this data leak. he can confirm roughly 3 weeks after notice was provided that action has been taken to secure the S3 bucket.

It is unclear who the owner of the Amazon S3 bucket is/was. From the types of documents being added, the frequency, and from how some of the images look — his best guess is that some type of scanner was set to upload (or backup) files to this S3 bucket.

Incident Timeline:

DATEEVENT
December 1, 2018Open bucket discovered.
December 2, 2018Email sent to India’s CERT team.
December 2, 2018Acknowledgment email from India’s CERT team with a reference number.
December 5, 2018Follow up email sent.
December 5, 2018CERT team indicated they are in touch with Amazon.
December 21, 2018Asked a contact for assistance with resolving this issue.
December 22, 2018CERT team confirms the S3 bucket is now secured.

What’s in the bucket:

The S3 bucket contained roughly 4,800+ files — mostly images, but it also contained PDFs.

An example file path is:
/private-documents/absolutegenericdocument-1/2018/7/7/JPEG_2018_06_29_17_20_27_-90041938.jpg

The “absolute generic document-” level folder had 4 folders that contained distinctly different types of documents.

Within each of the “absolute generic document-” level folders the documents were organized by year/month/day/file.

Side note: The irony of an S3 bucket full of sensitive data being named things like “private-documents” and “absolute generic document” is not lost on him. They could have named the folders something like “totally-meant-to-leak-this”.

 

The “absolute generic document-1” folder appeared to contain primarily images of Permanent Account Number (PAN) cards. It also contains some PDFs of images as well.
Document count: 1,142 images

 

 

 

 

 

The “absolutegenericdocument-2” folder appeared to contain images of India‘s national ID card known as “Aadhaar”.
Document count: 1,109 images.

 

 

 

The “absolutegenericdocument-3” folder appears to contain miscellaneous images of people, mostly “head shots” — like the type of photo you’d use for an ID
Document count: 1,082 images.

 

The “absolutegenericdocument-4” folder appears to contain “pay in slips” PDFs.
Document count: 942 PDFs

 

 

 

 

 

The S3 bucket was still being actively updated with new images as of December 21st .

Thanks For reading.!