Menu

I Changed My Username to "admin" and Ended Up Finding a Critical Data Leak

Reading 0:00
15s threshold

How a broken access control check led me to a full system data export.

During bug hunting for a SaaS application, I discovered one of the most interesting vulnerability chains I've encountered so far. And the craziest part is that it wasn't even a difficult/technical one. I just happened to accidentally stumble upon it when I changed my account's username to just admin.

It Started With a Username Change

I was testing the application using a regular Member (the lowest privilege account) with no administrative privileges. While checking for broken access control, I just randomly changed my username which was a test user, to admin.

And to my surprise, the application suddenly started showing me super admin settings that weren't visible before in the UI. I could navigate through organization settings, their Mongodb configuration, AI-related settings and other privileged sections.

At first, I thought I'd managed to escalate my privileges just from that.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.