π How I Discovered Sensitive Student Info on a Government Education Portal! π
-
###### How I Discovered Sensitive Student Info on a Government Education Portal! 
Hey Community!

I was doing some basic security research on a few local domains and stumbled upon a serious Information Disclosure vulnerability. I wanted to share my findings (without naming the exact target for security reasons) to highlight how critical API security is.
The Target: [A Sri Lankan Government Educational Portal]
Vulnerability Type: Broken Object Level Authorization (BOLA) / Unprotected API Endpoint.

How to do it step by step?
οΈβ
οΈ-
Random Selection
I decided to check the security posture of a well-known educational portal in Sri Lanka. I started by exploring the siteβs structure and how it handles data requests. -
Identifying the Attack Surface
While browsing, I noticed the site was using an API to fetch some front-end data. This piqued my curiosity. -
π§ͺ I tried to guess common API endpoints. Instead of navigating the UI, I manually appended a common path to the root URL: https://[target_site].gov.lk/api/users/
-
The Success (Data Exposure)
To my absolute shock, the server didn't ask for a login or a token. It responded with a massive JSON array containing:Full Names / Emails/ Mobile numbers / Birthdays / Nic numbers of Students

Why Is This Dangerous?
οΈNo Authentication: The API endpoint was completely public. Anyone with the link could download the entire user database. Massive Privacy Breach: Thousands of students' personal info could be harvested by bots within seconds. π€ Identity Theft: This data is a goldmine for phishers and scammers targeting students. π£How to Fix This? (For Admins)
οΈImplement Authentication: Never leave /api/ endpoints open. Use JWT or API keys. Rate Limiting: Prevent automated scripts from scraping the entire database. Role-Based Access Control (RBAC): Ensure that only authorized admins can access the /users/ list.Conclusion

This just goes to show that you don't always need complex tools to find a "hole" in a system. Sometimes, a simple URL tweak is all it takes. I hope the developers of this site fix this ASAP!

What do you guys think? Is API security being ignored in our local gov-tech sector? Letβs discuss below!

#CyberSecurity #LK #BugBounty #InfoSec #DataPrivacy #EthicalHacking #AnonSathaN #SriLanka
-
-
ΰΆ½ΰΆΰΆΰ·ΰ·ΰ· ΰΆ―ΰ·ΰΆ±ΰΆ§ ΰΆΰ·ΰΆΊΰ·ΰΆ± ΰΆΰ·ΰΆ©ΰΆΰ· government sites ΰ·ΰΆ½ ΰΆΈΰ· ΰΆΰ·ΰ·ΰ· ΰΆΰΆ ΰΆΰ·ΰΆΊΰ·ΰΆ±ΰ·ΰ·ΰ·.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login