Fuzzing and credentials leakage..awesome bug hunting writeup
A hidden manager login page was found through fuzzing, and its source code contained hardcoded credentials in a script tag. An attacker could use these credentials to log in and make API calls to the associated API domain.
Published on medium.com
However when i try to navigate to ‘ manage.redact.com’ i get redirected to ‘login.redact.com’ which is the normal login page for this website.
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
Impact
An attacker could log in to the manager interface and make API calls to api.redact.com using the leaked credentials.
What the attacker needed
Target domain in scope; ability to fuzz paths
How it was found
- Find the in-scope domain manage.redact.com, which redirects to a normal login page.
- Use waybackurls to discover the path /mange on manage.redact.com.
- Fuzz sub-paths under /manage/ with wfuzz, ignoring 404 and 302 responses.
- Discover the path /manage/m, which returns 200 and shows a manager login page.
- View the page source and find the username and API token in a script tag.
- Log in with the leaked credentials and send API calls to api.redact.com.
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.
The researcher found a secret login page that was not linked from the main site. When they viewed the page's source code, they saw a username and an API token written directly in the page. Anyone who found that page could read the same secret and log in.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.