Skip to content
CSRF Write-up Intermediate

I Found a CSRF-Style Bug in Proton and Earned a $200 Bounty.

An unsigned legacy unsubscribe URL could disable a SimpleLogin alias when a logged-in user visited it, because the endpoint performed a state-changing action on a GET request without CSRF protection. An attacker who knew the victim's alias ID could cause the victim's browser to open the URL and disable the alias.

kenjisubagja Follow

Published on medium.com

While testing Scope from Proton on my own account, I found a state-changing GET endpoint that could disable an alias using an unsigned legacy unsubscribe identifier.

Kenjisubagja, 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.

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 application kept an older unsubscribe format that treated a predictable, unsigned alias ID as a disable command, and it accepted this state-changing action over a GET request without a CSRF token or confirmation.

Impact

Disabling an alias stops emails from being forwarded, which could interrupt delivery of security alerts, password-reset emails, login notifications, billing messages, and account-recovery emails; the attacker still needed to know the victim's alias ID.

What the attacker needed

Attacker knows victim's alias ID; victim is logged in; victim visits attacker-controlled link

How it was found

  1. Confirm the test alias is enabled.
  2. Request the legacy unsubscribe endpoint with the alias ID and session cookie.
  3. Observe the server redirect response.
  4. Check that the alias status has changed to disabled.
  5. Use a browser-based proof of concept with a top-level navigation to the unsubscribe URL.

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 should not change important settings just because someone clicked a link. Here, visiting a special web address silently turned off an email alias (a forwarding address) for the logged-in user. An attacker who knew the alias ID could trick the victim into clicking that link, stopping their emails from arriving.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by kenjisubagja

View all

8 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.