Responsible Disclosure: Exposed Credentials in goverment site
Credentials were embedded in URLs on a government portal, allowing anyone who knew the URLs to log in to internal systems. The author validated that the credentials were still active and could be used for unauthorised access.
medium.com
Published on medium.com
Recently, I identified a critical security vulnerability affecting the official portal of the Tamil Nadu Registration Department, site.gov.in. The issue involved exposed credentials embedded in URLs, enabling unauthorized access to internal portals.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, credentials were hardcoded into URLs, making them publicly accessible.
Impact
The exposed credentials allowed anyone with knowledge of these URLs to log in to internal systems, and no multi-factor authentication or alerting mechanisms were in place to detect or prevent unauthorised logins.
What the attacker needed
Knowledge of the exposed URLs
The fix
The credentials should be rotated immediately, endpoints audited for hardcoded secrets, MFA enforced, and access logs reviewed.
How it was found
- Conducted OSINT research using publicly available tools and services.
- Leveraged the VirusTotal API to search for archived URLs and historical data related to the target domain.
- Examined archived URLs for patterns indicating embedded credentials.
- Identified URLs containing usernames and passwords in the path or parameters.
- Verified that these credentials were still active and could be used to access internal portals.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A website had usernames and passwords written directly into its web addresses. Anyone who found those addresses could use the passwords to log in to internal systems. This is dangerous because the credentials are exposed to anyone who sees the link.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.