IDOR in Email Preference Management — Unauthenticated Access & Modification
The email preference system used a permanent UUID token in the URL as the only protection, with no session or authentication required. Anyone with a valid token could view or modify another user's email preferences, including unsubscribing them from all communications.
While testing a financial services platform, I found that the email preference system was protected by nothing more than a UUID token passed in the URL. No session.
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
The platform assumed that possession of a UUID token was sufficient authorisation, without requiring an authenticated session or verifying ownership.
Impact
An attacker could silently unsubscribe a target from all emails, including security alerts and account notifications, without the user knowing; it is not account takeover but suppressing security emails on a financial platform is a meaningful risk.
What the attacker needed
A valid UUID token; no active session needed
The fix
The system should require an authenticated session for preference changes and replace permanent UUIDs with short-lived, signed tokens that expire and are invalidated after use.
How it was found
- Open an incognito browser with no active session.
- Visit the email preferences URL containing a valid token.
- Observe that the preferences page loads fully and all actions work without login.
- Visit the unsubscribe URL with the same token and a type parameter to trigger an unsubscribe.
- Observe a success message and that the change is applied, still without authentication.
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 UUID is a long random-looking string used to identify something, like a ticket number. The site treated knowing this string as proof of ownership, so anyone who found the link could change someone else's email settings without logging in. This is called an insecure direct object reference because the site trusts the identifier instead of checking who you are.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.