Public S3 Bucket Exposed Customer PII for 8 Months
A single Block Public Access setting left unchecked exposed 3.2 million customer records in a logging bucket.
Overview
Every application bucket was locked down, but the logging bucket was left public during setup, and for 8 months it held customer PII from request payloads.
What happened
The team's S3 practices were strong: every application bucket required server-side encryption and versioning and had Block Public Access enabled at the bucket level. The gap was a bucket created for a new observability pipeline, and the story played out slowly.
- An engineer created the logging bucket and left 'Block all public access' unchecked for testing.
- Nobody ever locked it down.
- The pipeline wrote logs into the bucket, and those logs carried request payloads.
- Eight months later, an automated compliance audit found the public bucket.
- A scan with Amazon Macie, the AWS service that finds personal and financial data in S3, sized the exposure.
Key concepts
- S3 Block Public Access
- AWS Macie
- Data minimization
- AWS Config rules
Interview questions
- How do you ensure no S3 bucket in your AWS account can be made public accidentally?
Sign up free to read the full topic
More War Stories topics
- Failover to a Lagging Replica Lost 4 Minutes of Orders
- Internal DNS Cache Poisoning That Redirected API Traffic
- Malicious npm Package Exfiltrated Environment Variables at Build Time
- N+1 Query Pattern That Collapsed Under Load
- NAT Gateway Port Exhaustion Under Bursty Lambda Traffic
- Node.js Memory Leak That Required Daily Restarts
- Silent Data Corruption from an Off-By-One Migration
- Single-Region Dependency That Caused a Global Outage
- The Cascade That Took Down Three Services
- Third-Party API Outage That Was Mistaken for Own Code
- Thundering Herd After a Cache Cluster Restart
- TLS Certificate Expiry That Took Down an Internal API
Start free on Cariara · Coding problems · System design studio