Expose relay IP in the debug (The source is different from the rendering)
The debug view of a Tor Browser page showed the relay's IP address in the page source while the rendered text showed the client's IP. An attacker could change the client IP to learn the relay IP.
- Disclosed after 4 months
Greetings,
I observed that it was possible to expose the ip of a relay by doing this :
Poc :
- Go to https://sorry.google.com/sorry/misc/
- You must observe this visual.

- Open Tor Browser debug
- You must observe this visual

Note :
You observe that between the debug and the main window there is no relation between the rendered text and the source code. The text discloses the IP of the client while the source discloses the IP of the relay.
Best regards
@Rbcafe
Impact
- Get the IP of the relay by changing the ip of the client.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the debug page rendered one value (client IP) but included a different value (relay IP) in the HTML source, possibly due to a mismatch in how the page was generated or cached.
Impact
An attacker could change their client IP to learn the IP address of a Tor relay.
What the attacker needed
Tor Browser; access to the debug view
How it was found
- Go to the specified Google sorry page.
- Observe the visual output.
- Open Tor Browser debug.
- Observe the visual output.
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 report has not been written yet. The Original tab links to the source.
When you visit a website through Tor, your traffic goes through several relays. This report says that a special debug page in Tor Browser showed the relay's IP address in the page source, even though the visible text showed the client's IP. By changing their own IP, someone could use this to find out the relay's IP address.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.