Unauthenticated Unsubscribe Endpoint Allows Unauthorized Email Pr
An unsubscribe endpoint accepted a GET request carrying a JWT that identifies a user's email, and acted on it without any authentication or confirmation. Anyone holding such a link could silently unsubscribe that user from promotional emails.
Published on medium.com
An unauthenticated unsubscribe mechanism on redacted.com allows any unauthenticated user to unsubscribe that user from promotional emails without their knowledge or consent. This vulnerability enables unauthorized manipulation of user preferences and can be used for mass-unsubscribe attacks, effectively silencing…
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 unsubscribe endpoint trusted the identity encoded in the token and performed the state change on a plain GET request without requiring authentication or a confirmation step.
Impact
Any unauthenticated user could unsubscribe a user from promotional emails without their knowledge or consent.
What the attacker needed
Possession of a valid unsubscribe link/JWT; no account needed to trigger it
How it was found
- Obtain unsubscribe links containing JWT tokens for users.
- Open the link in any browser, including a logged-out or incognito session.
- Decode the JWT payload to see which email was unsubscribed.
- Observe the confirmation that the user was unsubscribed.
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 sent emails with a link that unsubscribes you. That link contains a signed token (a JWT) that names your email address. The site did not check who was clicking, so anyone with the link could unsubscribe you without asking you first.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.