Home / Knowledge hub / S3 bucket exposure
Knowledge hub
S3 bucket exposure
A cloud storage bucket left open so anyone on the internet can read its files.
What it means
S3 bucket exposure is when an Amazon S3 storage bucket, or one of its files, can be read or listed by people who should not have access, often anyone on the internet. Buckets hold backups, uploads, exports, logs and static websites, so an open one can reveal a lot.
Buckets are private unless someone makes them otherwise. Exposure usually follows a policy that grants access to everyone, an old permission setting on the bucket or object, or a tool configured to make things public to get a feature working. The settings are easy to change and easy to forget.
Why it matters
What leaks depends on what was stored: customer documents, database dumps, keys, internal reports. Anyone who finds the address can download it, and automated scanners search for open buckets constantly. If personal data is inside, it can count as a data breach with notification duties.
Because nothing was broken into, there may be no alarm. The first sign is often a researcher's email or a customer's complaint. It is a common form of cloud misconfiguration, and a simple one to prevent. Closing it takes minutes once someone looks, but nobody looks unless it is on a list.
How it shows up
You meet it in file-upload features, backups, exports, log archives and static sites. Repeated causes include public-read policies added for a quick test, buckets named predictably after the company, and a public bucket used for private files because the code was simpler that way.
AWS provides Block Public Access settings at account and bucket level, and new buckets have them on by default. Keep them on, grant access by role, and serve private files through short-lived signed links. Review bucket policies and list your buckets regularly. Test from outside, without credentials, to see what a stranger can read.
Questions people ask
S3 bucket exposure, answered
Are S3 buckets public by default?
No. New buckets are private, and AWS now turns on Block Public Access for new buckets by default. Exposure usually comes from someone later changing a policy, an access list, or the Block Public Access settings.
How do attackers find open buckets?
Mostly by guessing names based on company or product names, and by reading names in your web pages, scripts and mobile apps. Automated tools test thousands of guesses. A random-looking name is not a defence, though, so fix permissions.
What is Block Public Access?
It is an AWS setting that overrides policies and access lists that would make buckets or objects public. It can be applied to an account or a bucket. Turning it on is one of the most effective safeguards.
Is a public bucket always a problem?
No. A bucket serving public images or a static website is meant to be public. The problem is when private data ends up in one, so keep public and private data in separate buckets.
How do we test our buckets?
List them, check each policy and Block Public Access setting, and then try to list and read each from outside without credentials. Cloud posture tools automate the first part. An outside check shows what a stranger really sees.
Sources
Where this comes from
Related
Terms that sit next to this one
Cloud misconfiguration
A cloud setting left unsafe, such as open storage or an overly broad permission.
Object storage security
Locking down buckets and blobs: access rules, encryption, versioning and logging.
CSPM
Tools that keep checking your cloud settings against security good practice.
Snapshot exposure
Disk or database backups shared or left public by mistake.
Data breach
Information you hold ends up somewhere it should not be.
What can a stranger read?
Open storage is found from the outside, the way a stranger would find it. When we test an app we look at what files and links it exposes and report what we actually retrieved. Book a pilot on one app.
Or start with a $199 pilot on one application: thirty days, success criteria agreed before day one, credited against the annual if you convert.