Skip to content

Cloud Security Misconfigurations to Fix First

Cyber Security6 min read

The cloud security misconfigurations to fix first: MFA, public storage, over-broad permissions, open ports, logging, keys and backups, in priority order.

In this article
  1. Why misconfiguration is the usual culprit
  2. The first ten fixes, in priority order
  3. Quick reference table
  4. How to find these issues in your own account
  5. Common mistakes
  6. The Irish and EU angle
  7. A word on safe change
  8. What to do next

The cloud security misconfigurations to fix first are the ones that expose data or hand over control: publicly readable storage, accounts without multi-factor authentication, over-broad permissions, open management ports, missing logging and unrotated access keys. Most cloud breaches involve a setting that was wrong or left at default, not a clever exploit, so a focused review of a handful of settings removes a large share of real-world risk.

Why misconfiguration is the usual culprit

Cloud platforms make it fast to create resources and just as fast to create them badly. A developer opens a storage bucket to test something, a database is given a public address for convenience, an administrator role is granted "temporarily". Under the shared responsibility model, the provider secures the underlying infrastructure but you are responsible for how you configure and use the services. If that idea is new, read the cloud shared responsibility model explained first. The checks below apply to AWS, Azure and Google Cloud alike, though the setting names differ, so confirm details in each provider's documentation.

The first ten fixes, in priority order

1. Multi-factor authentication on every human account

Start with the root or global administrator account, then all administrators, then everyone. A stolen password for a cloud administrator is the fastest route to total compromise. Keep the root account for emergencies only, with a strong unique password, hardware or passkey based MFA and no access keys. Use named accounts for daily work.

2. Publicly accessible storage

Object storage such as S3, Azure Blob and Google Cloud Storage is a classic source of data leaks. Block public access at the account or organisation level, then allow exceptions deliberately. Check every bucket and container, including old ones created for projects that ended. If something must be public, such as website images, keep it separate from anything private and review it periodically.

3. Over-broad permissions

Look for wildcard permissions, administrator roles given to services and users who changed teams but kept old access. Apply least privilege: a deployment pipeline needs to deploy, not to read every database. Remove unused roles and review who holds privileged access every quarter. This is the same idea behind zero trust, applied to cloud identity.

4. Management ports open to the internet

SSH (port 22), RDP (port 3389) and database ports should rarely be open to the whole internet. Restrict by source address, or better, use a bastion service, session manager or VPN so no inbound administration port is exposed at all. Search security group and firewall rules for 0.0.0.0/0 on anything that is not a public web port.

5. Databases and internal services reachable from outside

Databases, caches, message queues and admin consoles belong in private networks, reachable only from the applications that need them. Confirm that managed database instances are not publicly addressable, and that default or empty credentials are not in use.

6. Logging and alerting switched off

If you cannot see what happened, you cannot investigate. Enable the provider's audit logs for management actions (CloudTrail, Azure Activity Log, Cloud Audit Logs), store them in a separate protected location, and set a retention period that matches your needs. Alert on high risk events such as new administrator roles, disabled logging, or logins from unusual places. See monitoring and alerting for how to avoid noisy alerts.

7. Long-lived access keys and leaked secrets

Static keys in code, configuration files or chat messages are routinely harvested by automated scanners. Prefer short-lived credentials and workload identities, store secrets in a managed secrets service, and rotate or delete old keys. Our guide to CI/CD secrets management covers how to do this in pipelines.

8. Unencrypted data

Turn on encryption at rest for storage, databases and backups, and require TLS in transit. Most providers make this a checkbox, but older resources may have been created without it. Decide who controls encryption keys and who may use them.

9. Unmanaged resources and sprawl

Forgotten virtual machines, test environments and unused accounts are unpatched and unwatched. Use tagging to record owners and purposes, and review anything without an owner. Bonus: this overlaps with cost clean-up, as described in cloud cost optimisation.

10. Backups that cannot save you

Check that backups exist, are stored separately from the system they protect, are protected from deletion by the same compromised account and have been restored in a test. See the 3-2-1 backup rule and why untested backups fail.

Quick reference table

MisconfigurationWhat can go wrongTypical fix
No MFA on adminsAccount takeover, full controlEnforce MFA, protect root
Public storageData leakBlock public access, review each bucket
Wildcard permissionsSmall compromise becomes largeLeast privilege, regular review
Open SSH or RDPBrute force, exploitationRestrict sources, use bastion or session manager
Public databaseData theft, ransomPrivate network, firewall rules
No audit logsNo evidence after an incidentEnable, centralise, alert
Static access keysLeaked credentials reusedShort-lived credentials, secrets manager

How to find these issues in your own account

  1. Use the provider's built-in tools. Each major platform offers a security posture or advisor service that flags many of the items above. They are a good first pass.
  2. Look at identity first. List administrators, roles with wildcard permissions and keys older than your rotation policy.
  3. List everything internet facing. Public IP addresses, load balancers, storage and databases. Question each one.
  4. Compare against a benchmark. The CIS Foundations Benchmarks for each cloud, and the provider's own well-architected security guidance, are standard references.
  5. Define it in code. Once fixed, describe the correct state in infrastructure as code so it does not drift. Our Terraform basics article is a starting point, and policy checks can stop a bad change before it is deployed.
  6. Repeat. Configuration drifts. Schedule the review, or feed it into your vulnerability management routine.

Common mistakes

  • Fixing the symptom, not the process. If anyone can create a public bucket, someone will. Use guardrails such as organisation policies that prevent it.
  • Assuming default settings are secure. Defaults vary by service and age. Verify.
  • Ignoring non-production accounts. Attackers do not care that it is a test account if it contains real data or connects to production.
  • Granting admin to speed up a project. Temporary access should expire automatically.
  • No owner for cloud security. If it belongs to everyone, it belongs to no one.

The Irish and EU angle

If your cloud resources hold personal data, GDPR expects appropriate technical and organisational security, and a misconfigured store that exposes personal data may be a personal data breach with notification duties. Where data is stored and who can access it also matters for international transfers, covered in GDPR international transfers. Check current guidance from the Data Protection Commission and NCSC Ireland. This is not legal advice.

A word on safe change

Security fixes can break things that quietly depended on a weak setting. Before closing a port or tightening a role, check recent access logs to see what actually uses it, announce the change to the teams involved and apply it in a test environment first where you can. Make one change at a time, keep a record of the previous value and have a rollback ready. This discipline lets you move quickly on the urgent items without causing an outage that makes people resist the next round of fixes.

What to do next

  1. Enforce MFA on all administrators and secure the root account today.
  2. Enable account level blocking of public storage access and review exceptions.
  3. List internet facing resources and close any management or database port that does not need to be open.
  4. Turn on audit logging to a protected location.
  5. Run the provider's posture tool and fix the high findings.

If you would like help with this, the CloudWiss team in Dublin can talk it through, from a configuration review to setting up guardrails. See our cyber security services and, for the platform side, our cloud and DevOps services.

Share this article

General educational information, not legal or professional advice for your specific situation.

Frequently asked questions

What is the most common cloud security misconfiguration?

Publicly exposed storage and overly permissive access are among the most frequently reported, along with missing MFA on privileged accounts. Which is most common in your environment depends on how it was built and who has access. A quick review of storage, identity and internet facing resources will show you.

Is the cloud provider responsible for fixing these?

Usually not. Under the shared responsibility model the provider secures the underlying platform, while you are responsible for configuring services, identities, data and network rules. Provider tools can flag problems, but acting on them is your job.

How often should we review cloud configuration?

Continuously where possible, through policy checks and posture tools, plus a scheduled human review at least quarterly. Reviews are also wise after big changes such as a migration or a new project. Infrastructure as code helps keep the approved state from drifting.

Can we fix these without disrupting live services?

Often yes, but some changes, such as closing a port or tightening permissions, can break something that quietly depended on them. Check access logs first, change in a test environment where possible and roll out in stages with a rollback plan. Start with changes that carry little operational risk, such as enabling MFA and logging.

Keep reading

Let’s build it

Ready to build with CloudWiss?

Tell us what you want to build, move to the cloud or keep running. We reply with a clear next step.