AWS Builder Center

That Time I Publicly Served Our Internal Admin Panel With One Misclick

A late-night misclick on an AWS security group rule accidentally exposed our internal admin dashboard to the whole internet. Here’s how a single 0.0.0.0/0 blew a hole through our private VPC, and the tiny habit that now saves me every deploy.

Last Wednesday at 3 PM, our security lead dropped a screenshot into Slack. No caption. Just our private admin dashboard, fully loaded, with a browser address bar showing it was being accessed from a random coffee shop Wi‑Fi IP.
I stared at the image. My stomach dropped.
Twelve hours earlier, I’d deployed a simple internal tool — an Application Load Balancer in the public subnet, backend tucked safely away in a private subnet. The security group on the ALB was meant to accept traffic only from our VPN CIDR.  10.80.0.0/16 . I swear I typed it. But I’d tabbed out mid‑click to check a Slack notification. The source field didn’t get the VPN range. It got  0.0.0.0/0  — the entire internet. And I didn’t spot it.
The tool worked. I shut my laptop and went to sleep.
The next afternoon, someone — we still don’t know who — hit the ALB’s DNS name. Maybe a browser sync, maybe a stale bookmark. The login page loaded happily, splashing internal hostnames and API endpoints across a public network. No auth gate, no warning. Just our dirty laundry flapping in the breeze.
No data was stolen. No breach occurred. But the whole episode was terrifyingly simple. We’d drawn beautiful architecture diagrams with private subnets, NAT gateways, layered security… all undone by one mis‑selected dropdown at 11 PM. The private subnet protected the backend instances, sure — but the ALB was still standing in the street with a megaphone, inviting anyone who knocked.
The fix took thirty seconds: swap  0.0.0.0/0  for the real CIDR. The post‑mortem took longer. So did the ribbing from my teammates, and the coffee I now buy our security engineer every week.
What changed that day:
  • Before any deployment, I literally read the security group inbound rules out loud. It sounds ridiculous, but it catches autopilot mistakes.
  • I set up an AWS Config rule that screams if any security group opens  0.0.0.0/0  on non‑standard ports. If my brain wanders, a robot yells at me.
  • I stopped believing “it’s in a private subnet” means anything on its own. Now I ask: What’s the worst request this thing could receive, and who’s allowed to send it?
The cloud gives you a million ways to build securely — and a million ways to undo it all with a single click. Your architecture diagram won’t save you. The private subnet won’t save you. Your fingers on the keyboard do. Or they don’t.
So if you’re clicking around the console late at night, slow down. Double‑check that source field. And maybe don’t tab out to check a Slack notification.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article