Skip to content
Access control Write-up Beginner

I Could Change Anyone’s Email Preferences — Without Logging In 😳

An email preferences endpoint accepted unauthenticated requests with only an email address, allowing anyone to change another user's subscription settings. A second endpoint returned preferences for any email without authentication, enabling confirmation and automation of the tampering.

Munna🎭 Follow

Published on infosecwriteups.com

That was the question that started it all. I wasn’t trying to break anything.

Munna🎭, 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 application treated the email address as sufficient proof of identity and did not require authentication or authorisation for preference changes or reads.

Impact

An attacker could silently unsubscribe users from all company emails, including security notifications or billing updates, and verify the changes at scale; the victim received no notification.

What the attacker needed

Victim's email address; no account needed

The fix

The system should require authentication and authorisation before changing or reading email preferences, and notify users of changes.

How it was found

  1. Log in and visit the Manage Preferences section, then change an email setting to observe the request.
  2. Replace your own email with a publicly listed company email and send the request.
  3. Observe a success response indicating the other email was unsubscribed.
  4. Query a second endpoint with the victim's email to see their current preferences and confirm the change.

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.

A website let anyone change email notification settings for any email address without logging in. The only thing needed was the victim's email address, which is often public. A second page also showed those settings to anyone, so an attacker could check that the change worked.

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 Munna🎭

View all

5 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.