Skip to content
Info disclosure Write-up Beginner

Telegram Proxy Links: A Client-Side IP Exposure Risk Hiding Behin

Telegram mobile clients automatically connect to a proxy server when a user taps a disguised proxy link, exposing the user's real IP address even if they already use a proxy. An attacker could craft a message with a link that looks like a username mention to capture the IP address of anyone who taps it.

Maddy Follow

Published on maddy12.medium.com

Security researchers have identified a concerning client-side behavior in Telegram’s mobile applications that could inadvertently expose users’ real IP addresses through a single, seemingly innocuous tap. The issue centers on how MTProto proxy configuration links are handled by Telegram’s Android and iOS clients…

maddy, on maddy12.medium.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 client automatically initiates a network connection to validate a proxy link without first warning the user or respecting existing proxy settings.

Impact

The user's real IP address is exposed to the proxy server operator, which could lead to approximate geolocation, deanonymisation, targeted harassment, or denial-of-service, and this exposure bypasses existing in-app proxy settings.

What the attacker needed

Victim uses Telegram mobile app; victim taps a disguised proxy link; attacker controls a server with a public IP

The fix

Telegram plans to introduce client-side warnings when users interact with proxy configuration links, but at the time of the analysis no timeline was provided and the behaviour remained in production.

How it was found

  1. Craft a Telegram message containing a proxy configuration link formatted to display as a username mention.
  2. Send the message to a target or post it in a public group or channel.
  3. The target taps the disguised link, believing it to be a normal username.
  4. The Telegram client automatically enters a 'Checking…' state and initiates an outbound connection to the specified proxy server.
  5. The server operator captures the target's real IP address from the incoming connection, even if proxy validation later fails.

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 you tap a link in Telegram that looks like a username, the app may secretly try to connect to a proxy server. That connection reveals your real IP address (your device's address on the internet) to whoever runs that server, even if you already use a proxy for privacy.

What is Info disclosure?

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

More by Maddy

View all

1 more disclosed report, 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.