Google Bug Bounty:Commenting on any user's behalf.
The report describes a vulnerability in Google Plus where an attacker could post comments on behalf of any user by spoofing the victim's email address in a reply to a notification email. The attacker only needs the victim's email address to impersonate them.
on July 22, 2017
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 system accepted email replies as comments without verifying the sender's authenticity, relying solely on the From address which can be spoofed.
Impact
An attacker could impersonate any user and post comments on their behalf, potentially damaging reputation or spreading misinformation.
What the attacker needed
Victim's email address; smtp2go account; ability to send spoofed emails
How it was found
- Create an account on smtp2go.com and obtain a custom password.
- Using two accounts, comment on a post with the first account, then comment on the same post with the second account.
- Receive an email notification about the second comment and note the reply-to email address from the email headers.
- Use the sendemail command-line tool with the victim's email as the sender, the reply-to address as recipient, and the desired comment as the message, via the smtp2go server.
- Send the email and refresh the post page to see the comment posted on the victim's behalf.
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.
This bug allowed someone to post comments as another person on Google Plus. The attacker sent an email that looked like it came from the victim, and because the system trusted the sender address, it posted the email content as a comment from the victim. All the attacker needed was the victim's email address.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.