Abusing URL Shortners for fun and profit
The author describes a technique for finding URL shortener links that redirect to sensitive tokens or identifiers, using public archives to enumerate short codes. This could lead to account takeover or information disclosure if the tokens are valid.
Have you ever encountered a bug where it’s hard to show impact due to the lack of enumeration of a certain value of a parameter ? Well if yes, In this writeup I will talk about how you can find and abuse URL shortners to ATO or Information disclosure
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 the URL shortener service does not prevent enumeration of short codes via public archives, and the redirected URLs contain sensitive tokens that are not otherwise protected.
What the attacker needed
URL shortener used for sensitive links; Short links archived publicly; Access to archive tools
How it was found
- Identify a URL shortener domain used by the target.
- Use a tool like gau or waybackurls to collect archived URLs for that domain.
- Follow the redirects to see the final destination URLs.
- Extract parameters such as tokens or IDs from the redirect locations.
- Use the extracted values to access protected resources or accounts.
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.
URL shorteners create short links that redirect to longer URLs, often containing secret tokens. If these short links are publicly archived, an attacker can find them and use the tokens to access accounts or data. The author suggests using tools like waybackurls to discover such links.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.