CyberSib
Field notesFN-006Dec 4, 20267 min read
Entry FN-006

Six Cloud Misconfigurations We Check First, and the Public Reports Behind Them

Dangling DNS, unclaimed buckets in build scripts, open control planes, metadata endpoints reachable through SSRF, and logging blind spots. Each pitfall comes with a public HackerOne report and a concrete check.

Most cloud breaches don’t need a software vulnerability. They need one setting that nobody reviewed. This post covers six misconfigurations we check first in a cloud configuration review, each tied to a public bug report and a concrete check you can run yourself.

A cloud configuration review looks for misconfigurations and checks the setup against the security and compliance requirements you name. The examples below use AWS because most of the public reports involve it. The same patterns show up in Google Cloud and Azure.

§ 11. DNS records that point at resources you no longer own

A subdomain’s CNAME points at a storage bucket, a load balancer, or a hosted app. Someone deletes the resource and forgets the DNS record. Anyone who creates a resource with the same name now serves content on your domain.

In HackerOne report #1777077, learn2.khanacademy.org pointed to Amazon S3, but no bucket with that name existed. The researcher registered the bucket and served a proof-of-concept page from Khan Academy’s subdomain. Content on your subdomain can be used for phishing, and depending on your cookie scoping and content security policy, it can do more.

Check: export every DNS record that points at a cloud provider hostname. For each one, confirm that the target resource exists in an account you own. Make deleting the DNS record part of the decommissioning checklist, and delete it before the resource.

§ 22. Bucket names hardcoded in scripts that no longer exist

The same takeover works without DNS. If a build script downloads from a bucket by name and that bucket is deleted, anyone can recreate it and serve whatever the script downloads.

HackerOne report #1285598 describes this in a public Reddit repository. Its macOS build scripts fetched dependencies from an S3 bucket that was unclaimed. The researcher created the bucket in the same region and showed that a file with the expected name would be served to anyone who ran the build.

This is a supply chain problem disguised as a configuration problem. The fix has two parts:

  • Search your repositories, CI definitions, and Dockerfiles for bucket names and storage URLs, and confirm that each one belongs to you.
  • Verify downloaded artifacts against a pinned checksum or signature, so a swapped file fails the build instead of running.

§ 33. Storage that is public by accident

Public buckets remain one of the most reported cloud issues. A few public examples from HackerOne:

  • Report #404822: according to Slack’s summary, an open AWS bucket hosted the source code, configuration, and test data for an iOS test build. Slack noted that no customer data was exposed.
  • Report #1021906: titled as an S3 bucket for Shopify Ping on iOS with public access to other users’ images.
  • Report #700051: titled “Misconfigured s3 Bucket exposure” in Razer’s program.

AWS has changed the defaults. Since April 2023, new S3 buckets have S3 Block Public Access enabled and ACLs disabled by default. Buckets created before then keep their old settings, and anyone with permission can turn the protection off.

Infrastructure as code (IaC) is where this usually goes wrong. This Terraform snippet passes a quick read:

hcl
1resource "aws_s3_bucket" "exports" {2  bucket = "acme-customer-exports"3}45resource "aws_s3_bucket_policy" "exports" {6  bucket = aws_s3_bucket.exports.id7  policy = jsonencode({8    Statement = [{9      Effect    = "Allow"10      Principal = "*"11      Action    = "s3:GetObject"12      Resource  = "${aws_s3_bucket.exports.arn}/*"13    }]14  })15}

Principal = "*" with no condition makes every object in a bucket named customer-exports readable by anyone on the internet who knows or guesses the key. The name tells you this is wrong, but a reviewer skimming a pull request with forty resources may not notice.

Check: enable Block Public Access at the account level, not only per bucket. In IaC review, flag any policy with a wildcard principal and no restricting condition.

§ 44. Control planes exposed to the internet

The most damaging misconfigurations expose management interfaces, not data. According to the public summary of HackerOne report #455645, a researcher found one of Snap’s internal Kubernetes instances exposing an API endpoint to the public without authorization. Through it, he could run arbitrary jobs as a cluster administrator and obtain credentials with internal access to a significant number of instances. The report was rated critical.

Check: list every load balancer, public IP, and security group rule that allows inbound traffic from 0.0.0.0/0. For each one, name the service behind it. Kubernetes API servers, container dashboards, CI servers, databases, and cloud consoles of internal tools should not appear on that list.

§ 55. Instance metadata reachable through SSRF

Every major cloud provider exposes an instance metadata service at a link-local address. It returns, among other things, temporary credentials for the role attached to the instance. Any server-side request forgery (SSRF) bug in an application on that instance can become a credential theft bug.

Public examples:

  • HackerOne report #341876: a Shopify feature took server-side screenshots of a store page. The researcher redirected the page to the Google Cloud metadata endpoint and read an access token from the screenshot. The report describes the chain from there to root access on Shopify’s instances.
  • HackerOne report #530974: an image import function in Snapchat’s ads tooling fetched attacker-supplied URLs. The title describes exfiltrating data from Google Cloud metadata.
  • HackerOne report #923132: titled “SSRF at app.hellosign.com leads to AWS private keys disclosure” in Dropbox’s program.

Server-side request forgery is CWE-918. The OWASP Server-Side Request Forgery Prevention Cheat Sheet describes the controls that stop a request from reaching link-local metadata.

Diagram

URL parameter

server-side fetch

temporary role credentials

response or side channel

credentials

Attacker

App server

Metadata service (169.254.169.254)

Cloud APIs

Check, on AWS: require IMDSv2 on every instance and launch template. IMDSv2 requires a session token obtained with a PUT request, which most SSRF primitives can’t send. Set the response hop limit to 1 on instances that don’t run containers that need metadata access. See the AWS documentation on configuring the instance metadata service. Then scope the instance role to what the application needs, so stolen credentials reach as little as possible.

§ 66. Logging you assume exists

Detection depends on logs, and teams often assume every API call is logged. HackerOne report #3780277, disclosed through the AWS Vulnerability Disclosure Program in July 2026, described non-production endpoints for the Amazon S3 Tables service that didn’t log to CloudTrail. According to the report, an attacker with stolen credentials could use them to enumerate the credentials’ permissions without producing the failed calls that defenders often alert on.

AWS fixes issues like this at the provider level, but the lesson applies to your own configuration: know which actions your logs cover, and test it.

Check: confirm that CloudTrail (or the equivalent) is enabled in every region and account, including regions you don’t use, and that logs go to a separate account that workload roles can’t modify. Run a known action and confirm that it appears in the log and triggers the alert you expect.

§ 7A first-pass checklist

Area Check
DNS Every cloud-pointing record resolves to a resource you own
Code and CI Every bucket or storage URL in code belongs to you; downloads are checksum-verified
Storage Account-level Block Public Access; no wildcard principals without conditions
Network No management interfaces reachable from 0.0.0.0/0
Compute IMDSv2 required; hop limit set; instance roles scoped to the workload
Identity No long-lived access keys for humans; unused roles and keys removed
Logging Trails in every region and account; logs stored in a separate account; alerts tested

§ 8What a review adds to tooling

Cloud security posture tools catch many of the items above, and we recommend running one. A manual review adds what the tools can’t know: which bucket holds customer data, which public endpoint is supposed to be public, and how a weak setting in one account chains into another. The Shopify and Snap reports above are chains, not single settings.

§ 9Next step

If you want a review of your cloud accounts or your Terraform before it ships, request a scoping call.

§ 10References

Further reading.

Related service

Cloud Configuration Review

We review cloud configuration for vulnerabilities and misconfigurations, and we check it against your security and compliance requirements.

Request a scoping call
Next up
§ 02 — Next step

Who should we prepare your report for?

Type your company name to see it on the report cover and the scoping worksheet underneath. Hover over the cover to lift it.Tap the cover to lift it.

CyberSib
Security Assessment Report
Prepared for
Your company
ScopeDefined at kickoff
Light box · auditor view · press X to exit