Cloud storage security mistakes that expose files
Cloud storage security determines who can read, list, upload, change or delete files held by a cloud service. The website may protect its own pages while a separate storage location allows access without the same checks. Reviewing that location's effective permissions helps establish whether documents and other stored material receive the protection the business expects.
What is cloud storage security?
Cloud services commonly store files as objects inside a bucket or container. Those are provider terms for a collection of stored files and associated settings.
Access can depend on several layers, including account policies, container settings, individual object rules and temporary sharing links. A private-looking setting in one place does not necessarily explain every way a file is delivered.
Reading a file and listing the contents of a container are also separate permissions. Preventing a directory-style listing will not protect an object that remains publicly readable through its own address.
Some material is deliberately public, such as website illustrations or product brochures. The task is to separate that intended publication from private records and unnecessary permission to change stored content.
Why it matters
Imagine a consultancy stores public marketing material and private client reports through the same cloud account. A broad access rule intended for the marketing files might accidentally include a collection of client documents.
Customers would not need to bypass the consultancy's website login if the storage service already permits anonymous access. That could disclose confidential material through a different route from the application itself.
Write access creates another risk. If unauthorised users can replace published files or add unwanted content, the business may face disruption, reputational harm or unexpected costs.
Exposed backup files can increase the volume and sensitivity of a disclosure. The assessment should establish which files and actions are actually accessible, rather than assuming the whole cloud account is compromised.
How penetration testers check for it
- Identify storage locations used by the agreed application and compare their intended public or private role with available configuration and access evidence.
- Assess effective permissions for representative objects and relevant operations, using owner-approved test files and proportionate checks.
- Review temporary sharing arrangements and alternative delivery routes, including whether protected files remain accessible without the application's expected permission checks.
- Distinguish deliberate public content from unauthorised reading, listing or modification, explaining the scope and sensitivity of each confirmed finding.
How to fix it
- Keep private storage private by default and use provider controls that prevent unintended public access. Apply exceptions only to collections intended for public distribution.
- Separate public website assets from private business records and recovery copies. Give applications and staff accounts only the storage permissions their tasks require.
- Generate temporary sharing links only after checking the user's permission. Limit their lifetime and purpose, and treat a usable link as something that may grant access to its recipient.
- Record important access and policy changes, review existing permissions and check new storage during deployment. Use monitoring to identify unexpected public exposure or modification.
Recheck both the provider configuration and the application's behaviour after changes. A storage restriction can be correct while the application still distributes a private file or sharing link to the wrong user.
Related issues
- How exposed backup files put your business at risk
- How file permissions protect your website data
- Broken object-level authorisation in APIs
Read about our methodology or contact pentested.com to discuss testing for your website.