Skip to content
Account takeover Write-up Intermediate

0-Click Admin Account Takeover in Netflix Dispatch Project

A low-privileged user could reset any user's password, including administrators, by opening the edit page and saving without changes, because the password field was set to the string 'None' instead of being left unchanged. This allowed account takeover without any interaction from the victim.

medium.com

Published on medium.com

After taking a long break from Netflix bug bounty program, I decided to give it another try — this time collaborating with my friend Viktor Mares

Lyubomir Tsirkov, 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

Likely the code set the password field to the Python value None, which was then stored as the string 'None' instead of being treated as 'no change', because the permission check only ran when the role field was modified.

Impact

Any user, including administrators, could have their password reset to a known value, leading to full account takeover; the report states this was possible only when the default Basic authentication provider was used.

What the attacker needed

Basic authentication provider enabled; Attacker has a Member account; Victim account exists

The fix

The vulnerability was fixed and the fix rolled out.

How it was found

  1. Create a low-privileged account (Member role) via self-registration.
  2. Open the edit page for any user, including an administrator.
  3. Press Save without changing any field.
  4. The password is set to the string 'None', allowing login as that user.

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.

In this application, users have roles like Member or Admin. A Member should not be able to change other users' details. But a mistake in the code meant that simply saving the edit form without changing anything would set the victim's password to the word 'None', letting the attacker log in as them.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.