Skip to content
Access control Write-up Beginner

Bypass File Attachment Restrictions in Google Groups via Email Po

A regular member of a Google Group could bypass the 'Attach files' restriction set to owners-only by sending an email with an attachment to the group's email address. The attachment would be posted successfully despite the restriction.

Ph.Hitachi Follow

Published on infosecwriteups.com

While tinkering with Google Groups’ settings and features, I stumbled upon an interesting misbehavior that turned into a classic case of broken access control.

Ph.Hitachi, on infosecwriteups.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.

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 email posting path does not check the 'Attach files' permission setting, only the web upload path does.

Impact

A regular member could upload files to a group where only owners are allowed to do so, potentially affecting closed or sensitive groups.

What the attacker needed

A Google Group with email posting enabled; membership in the group; attachment restriction set to owners only

How it was found

  1. Set the group's 'Attach files' setting to allow only owners.
  2. Ensure 'Allow Email Posting' is enabled for the group.
  3. As a regular member, send an email with a file attached to the group's email address.
  4. Observe that the message with the attachment is posted successfully.

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.

Google Groups lets owners control who can attach files. The bug meant that if email posting was on, any member could email a file and it would be posted, ignoring the owners-only rule. This is like a door marked 'staff only' that opens for anyone who uses a different entrance.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Ph.Hitachi

View all

9 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.