Skip to content
Account takeover Write-up Beginner

Google Bug: Posting on groups as any user’s behalf

An attacker could post to a Google Group as any user by spoofing the sender's email address, because the group accepted posts based on the From header without verifying the sender. Google classified this as intended behaviour.

ssid Follow

Published on medium.com

Google Groups is a service from Google that provides discussion groups for people sharing common interests.Today I will be sharing one of my finding in Google group.Using this issue an attacker could’ve post on any user’s behalf.

newp_th, on medium.com

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.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 4 min read.

What the report shows

Google Groups is a Google service that hosts discussion groups for people who share common interests. The researcher, ssid (@newp_th), found an issue in Google Groups that let an attacker post to a group on any user's behalf. The report frames the finding around email spoofing: the note states that Google Mail is vulnerable to email spoofing, which made the attack easy.

The reproduction is short. The researcher first searched for the group where the new topic was to be posted, then spoofed the sender address with the sendEmail tool against an SMTP relay (smtp2go), using this command:

Bash
sendEmail -f [redacted] -t [redacted] -u new topic -m mail -s mail.smtp2go.com:2525

The report explains f as the victim email id, t as the Google group email and s as the SMTP server and port. The researcher notes that IP authentication had already been configured on the SMTP server, so no username and password authentication was needed.

After refreshing the group page, a post appeared on the victim's behalf. The timeline records the report as submitted on 14 August 2017 at 6:24 PM, and Google's response as "intended behaviour!". No bounty, severity rating or fix is given.

Root cause

The report does not explain the mechanism; it shows only the spoofed message and the resulting post. The report does not state a root cause; its note about email spoofing only says the attack was easy.

Impact

As described, an attacker could post on any user's behalf in a Google Group. The claim is limited to creating a post attributed to another user.

How this kind of bug works

Many collaboration products accept content through more than one door: a web form, an API, and an inbound email address. The email door is the weak one, because SMTP has no built-in guarantee that the From header matches the person who sent the message. Sender Policy Framework, DKIM and DMARC exist to let a receiving mail system check that claim, but they only help if the receiving side actually evaluates them and only for domains that publish the records. A product that maps an inbound message to an internal identity purely by the visible sender address inherits all of that weakness.

The bug class is therefore an authentication and authorisation gap on a secondary input channel: the application authenticates the channel (the message arrived at the group address) but not the principal (the message really came from that member). The same shape appears whenever a service lets users contribute by email, by webhook, or by any integration that carries an identity claim in a field the sender controls.

Defences are layered. The receiving service should verify the sender against the claimed account, for example by requiring a confirmation step, a per-user secret address, or a signed token in the message. It should evaluate SPF, DKIM and DMARC results on inbound mail and reject or quarantine messages that fail for the claimed domain. It should also make the distinction between "a message arrived" and "this member authored it" explicit in its data model, so that content created through email is attributed only after that check.

How to test for it

  1. Identify features that accept content by email: group addresses, ticket-by-email, comment-by-reply, shared inboxes. Look for a documented or discoverable address tied to an object you control.
  2. Create a controlled pair of accounts, one sender and one target, and note the exact address format used for posting.
  3. Send a message to the posting address from an address you control, and confirm the resulting content and how it is attributed.
  4. Then send a message where the visible sender is the target account but the actual sending infrastructure is yours. Use a relay you are authorised to use, and keep the test content benign and clearly marked.
  5. Refresh the target object and check the author of the new content. A positive result is content created and attributed to the target account, with no confirmation step and no rejection.
  6. Repeat with a domain that publishes strict DMARC to see whether the service evaluates authentication results at all.

Common false positives: the service may display the sender address as a label while attributing the content to an unverified external identity; the post may be held for moderation; or the address may belong to a mailing list that forwards rather than creates content. Confirm the attribution in the product's own UI and, where possible, in the API response, before reporting.

How it is fixed

Standard fixes are to authenticate the sender before attributing content: verify SPF, DKIM and DMARC for the claimed domain and reject failures, require a confirmation or token for first-time senders, or issue per-user secret posting addresses. Products can also mark email-originated content as unverified until the author confirms it, and rate-limit or moderate inbound posts from unauthenticated senders.

Hunting notes

This bug class hides in features bolted onto a core product: email-to-post, email-to-ticket, reply-by-email, inbound webhooks and integration addresses. Recon signals include documentation pages describing an email address for creating content, help articles about "posting by email", and group or project settings that expose a posting address. When you find one, the fastest path to a convincing report is a clean demonstration: two accounts you own, one message, and a screenshot of the resulting content attributed to the second account, plus the exact command or raw message used. Programs are more likely to accept the report when the impersonation is visible in the product's own interface and when you show that no verification step exists, rather than relying on the mail client's display alone.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 7 min read.

What happened, in plain words

Google Groups is a Google service that hosts discussion groups for people who share common interests. You can think of it as a shared noticeboard: members post topics and replies, and everyone in the group can read them. The researcher, ssid (@newp_th), found an issue in Google Groups that let an attacker post to a group on any user's behalf. In other words, a message could appear on the noticeboard signed with someone else's name, even though that person never wrote it.

The report frames the finding around email spoofing. Spoofing means sending a message that claims to come from an address you do not own, much like posting a letter with someone else's return address written on the envelope. The note in the report states that Google Mail is vulnerable to email spoofing, which made the attack easy.

The reproduction is short. The researcher first searched for the group where the new topic was to be posted, then spoofed the sender address with the sendEmail tool against an SMTP relay (smtp2go), using this command:

Bash
sendEmail -f [redacted] -t [redacted] -u new topic -m mail -s mail.smtp2go.com:2525

Here is what each part does, line by line:

  • sendEmail is the name of the command-line program being run. It sends an email message from a terminal.
  • -f [redacted] sets the sender address, the "from" that the recipient will see. The report calls this the victim's email address. This is the spoofed part: the message claims to come from a group member.
  • -t [redacted] sets the destination, the Google group email address. The report explains that t is the Google group email address.
  • -s mail.smtp2go.com:2525 sets the SMTP server and port used to send the message. SMTP is the protocol mail servers use to pass messages to each other, and a port is the numbered door on a server that a service listens on. The report explains that s is the SMTP server and port.

The researcher notes that IP authentication had already been configured on the SMTP server, so no username and password authentication was needed. IP authentication means the relay trusts a machine because of its network address rather than because it presented a login. The report notes IP authentication was already set on the SMTP server, so no username and password were needed.

After refreshing the group page, a post appeared on the victim's behalf. Refreshing the page is what makes the browser fetch the latest version of the group from Google's servers, so the new post becomes visible. The timeline records the report as submitted on 14 August 2017 at 6:24 PM, and Google's response as "intended behaviour!". No bounty, severity rating or fix is given.

Why does this matter? A group post carries the name of its author. If anyone can create a post under another member's name, readers will believe that member said something they never said. That is impersonation: readers may believe the member said something they never said.

In general, how this kind of bug works

Many collaboration products accept content through more than one door: a web form, an API, and an inbound email address. The email door is the weak one, because SMTP has no built-in guarantee that the From header matches the person who sent the message. The From header is simply a text field in the message; nothing in the protocol forces it to be true. Sender Policy Framework, DKIM and DMARC exist to let a receiving mail system check that claim, but they only help if the receiving side actually evaluates them and only for domains that publish the records. A product that maps an inbound message to an internal identity purely by the visible sender address inherits all of that weakness.

The bug class is therefore an authentication and authorisation gap on a secondary input channel. Authentication means proving who you are; authorisation means deciding what you are allowed to do. Here the application authenticates the channel (the message arrived at the group address) but not the principal (the message really came from that member). The same shape appears whenever a service lets users contribute by email, by webhook, or by any integration that carries an identity claim in a field the sender controls.

Defences are layered. The receiving service should verify the sender against the claimed account, for example by requiring a confirmation step, a per-user secret address, or a signed token in the message. A token is a value that is hard to guess and proves the holder was given it by the service. It should evaluate SPF, DKIM and DMARC results on inbound mail and reject or quarantine messages that fail for the claimed domain. It should also make the distinction between "a message arrived" and "this member authored it" explicit in its data model, so that content created through email is attributed only after that check.

In general, how to test for it

  1. Identify features that accept content by email: group addresses, ticket-by-email, comment-by-reply, shared inboxes. Look for a documented or discoverable address tied to an object you control.
  2. Create a controlled pair of accounts, one sender and one target, and note the exact address format used for posting.
  3. Send a message to the posting address from an address you control, and confirm the resulting content and how it is attributed.
  4. Then send a message where the visible sender is the target account but the actual sending infrastructure is yours. Use a relay you are authorised to use, and keep the test content benign and clearly marked.
  5. Refresh the target object and check the author of the new content. A positive result is content created and attributed to the target account, with no confirmation step and no rejection.
  6. Repeat with a domain that publishes strict DMARC to see whether the service evaluates authentication results at all.

Common false positives: the service may display the sender address as a label while attributing the content to an unverified external identity; the post may be held for moderation; or the address may belong to a mailing list that forwards rather than creates content. Confirm the attribution in the product's own UI and, where possible, in the API response, before reporting.

In general, how it is fixed

Standard fixes are to authenticate the sender before attributing content: verify SPF, DKIM and DMARC for the claimed domain and reject failures, require a confirmation or token for first-time senders, or issue per-user secret posting addresses. Products can also mark email-originated content as unverified until the author confirms it, and rate-limit or moderate inbound posts from unauthenticated senders.

In general, where to look

This bug class hides in features bolted onto a core product: email-to-post, email-to-ticket, reply-by-email, inbound webhooks and integration addresses. Recon signals include documentation pages describing an email address for creating content, help articles about "posting by email", and group or project settings that expose a posting address. When you find one, the fastest path to a convincing report is a clean demonstration: two accounts you own, one message, and a screenshot of the resulting content attributed to the second account, plus the exact command or raw message used. Programs are more likely to accept the report when the impersonation is visible in the product's own interface and when you show that no verification step exists, rather than relying on the mail client's display alone.

Glossary

  • Google Groups: a Google service that hosts discussion groups, where members post topics and replies.
  • Email spoofing: sending a message whose visible sender address is not the real sender's, like writing someone else's return address on an envelope.
  • SMTP: the protocol mail servers use to send and relay email messages.
  • SMTP relay: a mail server that accepts a message from one party and passes it on towards its destination.
  • Port: a numbered endpoint on a server where a particular service listens, such as 2525 in the command above.
  • IP authentication: trusting a sender because of its network address rather than because it presented a username and password.
  • From header: the field in an email message that states who the sender claims to be; it is not verified by the protocol itself.
  • SPF (Sender Policy Framework): a DNS record that lists which servers are allowed to send mail for a domain, so receivers can check the claim.
  • DKIM: a mechanism that adds a cryptographic signature to a message so the receiver can check it was not altered and came from the domain that signed it.
  • DMARC: a policy that tells receiving mail systems what to do with messages that fail SPF or DKIM checks for a domain.
  • Authentication: proving who you are.
  • Authorisation: deciding what an authenticated party is allowed to do.
  • Token: a hard-to-guess value issued by a service that proves the holder was given it by that service.
  • False positive: a test result that looks like a bug but is not, for example because the product labels the sender without trusting it.
  • Recon: the early research phase of a test, gathering information about what features and addresses exist.
  • Webhook: an automatic message one system sends to another when an event happens, often carrying an identity claim in its content.

More by ssid

View all

3 more disclosed reports, best first.

More from Google

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.