Information Disclosure leads to sensitive credential($$$)
A subdomain exposed a password in its page source, and the same source also revealed the main site URL and a username. The attacker used these credentials to log in to the main site.
Published on medium.com
Hi Hackers, hope you are fine.my name is khan mamun(white hat hacker) This is my 3rd write up.
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, sensitive credentials were hardcoded in the HTML source of a web page.
Impact
An attacker could log in to the main website with the exposed credentials, potentially gaining unauthorised access to user accounts.
What the attacker needed
Access to the subdomain; none
How it was found
- Navigate to the subdomain watch.site.com
- View the page source
- Search for 'username' in the source
- Find the main site URL, password, and username in the source
- Log in to the main site with the found credentials
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.
When a website is built, sometimes developers leave sensitive information like passwords in the code that browsers can see. This report shows that a password was visible in the page source of a subdomain, and with a username also found there, the attacker could log in to the main site.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.