TL;DR
A confused customer ticket about "seeing weird projects" led us to discover a major authorization bug. The user wasn't trying to find a vulnerability. They just noticed something odd and reported it. Their observation prevented what could have been a serious data exposure incident.
The Support Ticket
The ticket was titled "Bug: wrong projects showing up."
"Hi, I was browsing my project list and clicked on one, but it showed me a project I don't recognize. It said 'Marketing Campaign Q4' but I've never worked on any marketing campaigns. When I went back and clicked again, my actual project showed up. Just wanted to let you know about this glitch."
My first instinct was to close it as a one-off glitch. We'd had weird caching issues before. Something about the description kept nagging at me, though.
The Investigation
I asked the user for more details. When exactly did it happen? What were they doing before? They mentioned they'd been clicking around quickly, opening multiple projects in new tabs.
That's when I realized this might not be a caching glitch. I looked at our project-loading code:
The endpoint fetched project data based on an ID parameter. It checked if the user was authenticated. But it didn't verify the user had permission to access that specific project.
The bug was only visible under specific conditions: if two users loaded projects at nearly the same moment, a race condition could cause the server to return the wrong project data. The user who reported it had triggered it by rapidly opening multiple tabs.
The Scope
We investigated how long this bug had existed and whether it had been exploited:
- The vulnerable code had been in production for 8 months
- No evidence of intentional exploitation in our logs
- Possibly 10-20 accidental cross-user views (hard to confirm)
- No sensitive data types were in the affected projects
We got lucky. The conditions to trigger the bug were rare, and nobody had deliberately tried to exploit it. Anyone who knew about it could have walked through other users' projects one by one.
The Fix and Response
The authorization fix shipped within hours. The code change itself was tiny: check that the requesting user owns the project before returning it.
We sent the user who reported it a personal thank-you and a year of free service. They were surprised. As far as they knew, they'd reported a glitch, not a security hole.
The insight: Users find security issues all the time without knowing that's what they've found. "Weird behavior" and "glitches" can be symptoms of serious vulnerabilities, so read those tickets twice.
Changes We Made
Authorization Review
We audited every endpoint for authorization checks and found two more with the same problem.
Automated Testing
We added tests that deliberately request resources as the wrong user. Every API endpoint now has one: log in as User A, ask for User B's data, expect a refusal.
Support Triage Process
Any ticket mentioning "seeing wrong data," "other user's content," or anything like it now goes straight to security review.
User Reward Program
Users whose reports turn out to be security issues now get a proper thank-you. It's nowhere near a formal bug bounty. It just tells people their reports matter.
Why Users Are Your Best Testers
This taught me that users use your app in ways you never planned for. They click faster than you do and stumble into edge cases your tests don't cover.
That user, rapidly opening tabs while multitasking, found a bug we'd missed for 8 months. No automated test or security scanner had caught it. Someone in a hurry did.
How should I respond to users who report potential security issues?
Thank them right away, even before you've verified anything, and ask for details. Keep them posted as you investigate. If it turns out to be real, a small reward or a public thank-you goes a long way.
What support ticket keywords might indicate security issues?
Look for: "wrong data," "someone else's," "not my account," "seeing other users," "weird behavior," "data I don't recognize." Train support staff to escalate these.
Should I start a bug bounty program?
Bug bounties work best once your baseline security is solid and you can keep up with incoming reports. Start simpler: make reporting easy, and say thanks when people do it.
How do I test for authorization bugs?
For each endpoint that returns user-specific data, write a test: authenticate as User A, request User B's data, verify it returns an error (not User B's actual data). Automate this in your test suite.
Find Authorization Issues
Scan your app for access control vulnerabilities.