Discord Read Receipts Exploit: When, How Often, How Long
Discord's link preview proxy is meant to prevent senders from tracking when recipients view messages, but by serving a valid image once and then returning errors, the proxy never caches the image, causing the client to retry six times. An attacker can thus learn when a message was read, how many times, and for how long.
paul.koeck.dev
Published on paul.koeck.dev
Discord deliberately does not have read receipts. It’s one of the platform’s unwritten privacy promises.
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
A sender can learn when a message was read, how many people read it, and approximately how long the embed was visible, though Cloudflare caching may occasionally interfere and the technique requires the recipient's client to render the embed.
What the attacker needed
Attacker controls a web server; victim views the message with the embed; Cloudflare cache must not interfere
How it was found
- Set up a server that returns a valid image for the first request (validation) and then returns 500 for subsequent requests.
- Create a tracking link that points to this server and share it on Discord.
- When a recipient views the message, the proxy fetches the image, gets a 500, and does not cache it.
- The client retries the image load six times with increasing delays, each retry hitting the origin server.
- Analyse the timing and number of requests to determine when and how long the message was viewed.
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.
Discord normally hides when you read a message by loading images through its own proxy, so the sender's server never sees you. This researcher found that if the proxy fails to load the image, Discord's app retries several times, and each retry hits the sender's server. By counting those retries, the sender can tell when you opened the message and for how long.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.