Skip to content
SSRF Write-up Intermediate

Telegram Report: SSRF leads to DOS attack [Reports that didn't make it]

Telegram's link preview feature fetches URLs sent in messages, which can be abused to send many requests to a target host. The author used a script to send messages containing many URLs to a bot, bypassing a filter that blocked repeated URLs, potentially causing a denial of service.

Philippe Delteil Follow

Published on medium.com

Philippe Delteil

Philippe Delteil, on 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 link preview feature fetches user-supplied URLs without sufficient rate limiting or filtering to prevent abuse.

Impact

An attacker could send many requests to a target host, potentially causing a denial of service, though message size and rate limits may constrain the attack.

What the attacker needed

A Telegram bot; ability to send messages to the bot

How it was found

  1. Create a Telegram bot.
  2. Configure a tool to send messages to the bot.
  3. Obtain a Burp Collaborator payload.
  4. Use a script to send messages containing many URLs to the bot.

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 send a link in Telegram, Telegram's servers visit that link to create a preview. The author found that by sending many links to a bot, they could make Telegram send many requests to a website they chose. This could overwhelm the website, which is a denial-of-service attack.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More from Telegram

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.