The Great Google Groups Spoofing Scandal How A Bug Allowed Deception To Flourish
A researcher found that spoofed emails sent to a Google Group mailing list were forwarded by Google's servers, which caused the SPF and DKIM checks to pass even though the original sender was forged. An attacker could use this to deliver convincing phishing emails that Gmail marked as important, with no warning to the recipient.
“Get ready for some major mischief! I just successfully spoofed an email from a domain, “xyz.edu,” whose DNS records were misconfigured and sent it to a Google Group mailing list regularly used by “xyz.edu.” Even better, Google’s algorithms marked it as important in the recipient’s inbox.
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 Google Groups re-sent forwarded mail from its own servers without preserving or re-evaluating the original sender's authentication, so SPF and DKIM passed on the forwarded copy while DMARC failed but was set to none.
What the attacker needed
Target domain has SPF softfail; target domain has DMARC policy none; a Google Group used by the target; access to a fake mailer service
The fix
Google reportedly marked the issue as intended behaviour and would not fix it, so the text recommends domain owners set DMARC to quarantine or reject and SPF to hard fail as a workaround.
How it was found
- Send a forged email through a public fake mailer with the From address set to a domain whose SPF is softfail and DMARC is none.
- Address it to a Google Group mailing list used by that organisation, including your own address as a member.
- Wait for the message to be delivered, which in one case took about 45 hours.
- Open the inbox and observe the message arrived, passed SPF and DKIM, and was marked important with no warning.
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.
Email systems use checks called SPF and DKIM to confirm that a message really came from the domain it claims. Here, a mailing list run by Google passed the message on, and in doing so it made those checks look successful even though the original message was fake. So a forged email could land in someone's inbox looking legitimate and even be flagged as important.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.