Blog/Cloud Security

The Cloud Misconfigurations We Find Most Often (AWS and Azure Edition)

Cloud environments introduce a new class of security risk that traditional network testing misses entirely. These are the misconfigurations our team encounters most frequently — and how to fix them.

Ouroboros Security Team3 June 20267 min read

Cloud security assessments have become a core part of our service offering, and for good reason: the shift to AWS, Azure, and GCP has introduced an entirely new attack surface that traditional network penetration testing does not cover. The good news is that the most impactful misconfigurations are consistently the same ones — which means they are also consistently fixable.

Overpermissive IAM Roles

The single most common finding across both AWS and Azure is IAM roles and service principals with far more permissions than required. In AWS, we routinely find EC2 instances with AdministratorAccess attached, meaning any code execution vulnerability on that instance immediately yields full account compromise. The fix is straightforward: enforce least privilege, use IAM Access Analyzer to identify unused permissions, and audit role trust policies.

Publicly Exposed Storage

S3 buckets and Azure Blob containers with public read access remain a persistent finding despite years of industry attention. We have found customer PII, internal API keys, database backups, and source code in publicly accessible buckets during assessments. Enable S3 Block Public Access at the account level and use Azure Policy to enforce private-only blob containers.

IMDS Exploitation

The Instance Metadata Service (IMDS) on AWS EC2 instances exposes temporary credentials for the attached IAM role. If an application running on the instance is vulnerable to SSRF, an attacker can retrieve these credentials and pivot to the AWS control plane. Enforce IMDSv2 (which requires a PUT request with a session token, blocking simple SSRF) on all instances.

Logging and Monitoring Gaps

Many organisations enable CloudTrail or Azure Monitor but do not configure alerts for high-risk API calls: IAM policy changes, new access key creation, security group modifications, or data exfiltration patterns. Without detection, even a successful compromise may go unnoticed for months. Ensure logging is enabled in all regions, logs are shipped to an immutable destination, and alerting covers the critical control plane operations.

AWSAzureCloud SecurityMisconfigurationIAM

Want us to test your environment?

Our team of OSCP-certified testers can identify the vulnerabilities discussed here — and the ones you haven't thought of yet.

See our Cloud Security Assessment service
Get in touch