De-anonymising Anonymous Animals in Google Workspace
The real-time collaboration system used by Google Docs and similar products exposed the same internal user identifier for a user whether they were logged in normally or appearing as an anonymous animal. An attacker who already knew a victim's identifier could therefore link the anonymous animal to the victim's real account.
Published on feed.bugs.xdavidhu.me
In products that use the same real-time collaboration system as Google Docs, “Anonymous Animals” can leak the underlying user’s identity by exposing the real userId of the victim. If the attacker already knows the userId of a given victim, she can de-anonymise the victim when the victim is an “Anonymous Animal”.
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
The anonymous animal session reused the same internal user identifier as the user's real account instead of generating a separate anonymous identifier.
Impact
This could be used to de-anonymise victims by making them visit a malicious link or website that embeds an attacker-controlled document, but it requires a targeted attack because the attacker must already have mapping data between identifiers and accounts.
What the attacker needed
Attacker has two Google accounts; victim opens attacker-controlled document; attacker already knows victim's userId
How it was found
- Create two Google accounts, one attacker and one victim.
- The attacker creates a Google Doc and shares it with the victim as a viewer.
- The attacker monitors the real-time connection responses.
- The victim opens the shared document.
- The attacker notes the victim's user identifier from the connection event.
- The attacker creates a document shared to anyone with the link, monitors connections, has the victim open it, and sees the same identifier on the anonymous animal.
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 open a Google Doc, the service tells everyone else in the document that you have joined, including a hidden account number. If you join without signing in, Google shows you as a random animal instead of your name, but the hidden number stays the same. Someone who already knows your hidden number can spot you behind the animal.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.