Skip to content
Path traversal Write-up Intermediate

Whose app are you downloading? Link hijacking Binance’s shortlinks through AppsFlyer

A path traversal flaw in AppsFlyer's OneLink shortlink management allowed an attacker to overwrite any customer's shortlink, including Binance's, by manipulating the URL parameter. An attacker could redirect users to a malicious app download via the official Binance notifications.

Sam Curry Follow

Published on web.archive.org

Written By Sam Curry

Sam Curry (@samwcyo), on web.archive.org

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 overwrite any AppsFlyer customer's shortlink, including Binance's, to redirect users to malicious app downloads via official notifications.

What the attacker needed

AppsFlyer OneLink account; knowledge of target shortlink ID

How it was found

  1. Register for an AppsFlyer OneLink account and create a fake app to obtain a onelink.me subdomain.
  2. Identify the target shortlink's ID (eT20) from a Binance shortlink.
  3. Send a POST request to /link-management/api/saveLink with a longUrl containing path traversal (../) to the target ID.
  4. Observe that the server returns a success response and the shortlink is overwritten.

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.

AppsFlyer is a service that creates short links for apps. The bug let someone change the destination of any short link, even ones belonging to other companies, by using a trick called path traversal. This meant a fake app download could be shown to users through a trusted link.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Sam Curry

View all

11 more disclosed reports, best first.

More from Chess.com

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.