Skip to content
RCE Write-up Beginner

Security: Bitwarden Desktop app grants RCE to Bitwarden developers. #552

The Bitwarden Desktop app automatically downloads and installs updates without user approval, which the reporter argues constitutes a remote code execution vulnerability. An attacker who compromises or coerces Bitwarden developers could push a malicious update to backdoor all installations and steal every user's passwords.

github.com

Published on github.com

Security: Bitwarden Desktop app grants RCE to Bitwarden developers.#552

The author, on github.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 was designed to trust updates from its own servers completely and to install them without any user confirmation, giving the update channel full control over the user's device.

Impact

A compromised or coerced developer could push a malicious update that executes on every user's machine and steals all stored passwords; the reporter notes this is unpatchable by design for the web vault but argues desktop apps should not follow the same model.

What the attacker needed

Bitwarden Desktop installed; An update is available; Attacker controls or coerces the update publisher

The fix

The app should prompt the user before downloading and installing updates, or provide an option to disable automatic updates.

How it was found

  1. Run Bitwarden Desktop when an update is available.

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.

This report is about a password manager app that updates itself automatically without asking the user. The person who wrote it says that because the app runs new code without permission, anyone who controls the update servers (like the developers, or someone who forces them) could send a bad update that steals all passwords. It is more of a design complaint than a traditional software bug.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.