Cloud misconfiguration
A wrong or careless setting in a cloud service - like storage left open to everyone - that exposes data or systems.
Draft - this entry has not been reviewed yet.
Formal
A weakness created not by a flaw in the provider's software but by the customer's own choice of settings, such as public access to storage, too broad permissions, disabled logging or open network ports.
In plain English
Like a sturdy safe bought for the office but left with its door standing open - the safe works fine; the way it was set up does not.
In practice
A developer at a hospital region makes a storage bucket public to share a test file and forgets to close it; months later strangers find patient records in it, and the region must report a personal data breach.
Why it matters
Settings can be changed in seconds by many people, and one slip can put large amounts of data on the open internet; the provider will not step in, because settings are the customer's side.
Technical deep dive
The recurring classes are well known. Storage exposure: an S3 bucket policy with Principal "*", an ACL granting AllUsers, anonymous blob access in Azure Storage, or a Google Cloud Storage binding to allUsers or allAuthenticatedUsers (the latter means any Google account at all, not "our users", a classic misreading). Network exposure: security groups allowing 0.0.0.0/0 on SSH, RDP or database ports, managed databases with public endpoints, Kubernetes API servers or dashboards open to the internet. Identity: wildcard IAM policies, routine use of the root account, long-lived access keys. Visibility: audit logging, storage access logs or flow logs switched off. OWASP files the web-facing variant under A02:2025 Security Misconfiguration, and MITRE ATT&CK describes exploitation as T1530 Data from Cloud Storage.
Misconfiguration is so common because the control plane lets many principals change security-relevant state in seconds, defaults differ between services, and live state drifts from the infrastructure-as-code that supposedly defines it through console changes and emergency fixes that are never reverted. Providers have tightened defaults: S3 Block Public Access arrived in 2018, and since April 2023 new buckets have Block Public Access enabled and ACLs disabled by default. The 2019 Capital One breach illustrates how misconfigurations chain: a misconfigured web application firewall on EC2 allowed SSRF against the instance metadata service (IMDSv1), which returned credentials for a role broad enough to list and copy S3 data on roughly 100 million people. IMDSv2, with a session token obtained by PUT, was released later that year as a direct countermeasure.
Prevention works at three points. Before deployment, policy-as-code scanners such as Checkov, Trivy or OPA/Conftest check Terraform and Kubernetes manifests in the pipeline. At the organisation level, preventive guardrails block classes of error outright: AWS service control policies, Azure Policy with the deny effect, Google Cloud organisation policy constraints such as storage.publicAccessPrevention. At runtime, cloud security posture management (AWS Config and Security Hub, Microsoft Defender for Cloud, Google Security Command Center, or third-party CSPM) continuously evaluates live resources against the CIS Foundations Benchmarks and flags drift.
A misconfiguration is not a CVE: there is no vendor patch, because the software works as designed and the weakness lies on the customer's side of the shared responsibility model. When personal data has been exposed, GDPR treats this as a personal data breach under Art. 4(12) even without proof of access, and Art. 33(1) requires notification to Datatilsynet within 72 hours unless the breach is unlikely to result in a risk. If access logging was disabled, the controller usually cannot demonstrate that nobody downloaded the data, which pushes the assessment towards notification.
What to learn first
Everything this builds on, foundations first.
- User account
- →Network
- →IP address
- →Permission
- →Protocol
- →Packet
- →Port
- →Router
- →Server
- →TCP/IP
- →Internet
- →Cloud computing
- →Cloud misconfiguration
Relationships
- A kind of
- Vulnerability
- Requires
- Cloud computingPermission
- Causes
- Data breach
Sources & further reading
Standards & official texts
- NIST SP 800-145 - The NIST Definition of Cloud Computing · NIST
Reference works
- CSA Cloud Controls Matrix (CCM) · Cloud Security Alliance
Where this data comes from
This entry was drafted by an AI from the sources above and has not yet been checked by a person. Treat it as a starting point, and check anything important against the sources.
See the review queueSuggest a correction on GitHubThis term as JSON
Mentioned in
Check yourself
Loading…