Skip to content
Info disclosure Write-up Intermediate

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.

Sicksec Follow

Published on infosecwriteups.com

Bounty$3,000 View original

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

Sicksec, on infosecwriteups.com

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

  1. Identify a URL shortener domain used by the target.
  2. Use a tool like gau or waybackurls to collect archived URLs for that domain.
  3. Follow the redirects to see the final destination URLs.
  4. Extract parameters such as tokens or IDs from the redirect locations.
  5. 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.

More by Sicksec

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.