Skip to content
Info disclosure Disclosed report Beginner

When uploading attachments, unencrypted file names are made available to the server

Some Bitwarden clients sent unencrypted attachment filenames to the server when saving attachments. A malicious server could learn information from these filenames, though the server normally discarded the value and stored the encrypted filename.

jjlin Follow

Originally disclosed on HackerOne

  • Triaged in 11 hours
  • Fixed in 45 days
  • Disclosed after 2 months

Summary by the program

Certain Bitwarden clients were inadvertently posting raw filenames to the server when saving new attachments. The server was discarding this value and properly storing the encrypted filename, however, a malicious server could glean some information from the filename if it were inclined. The issue has been patched.

The original report as published on HackerOne, by jjlin. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the client code included the plaintext filename in the request payload instead of only the encrypted filename.

Impact

A malicious server could glean some information from the filename, but the normal server discarded the value and stored the encrypted filename.

What the attacker needed

A malicious server; user saves an attachment

The fix

The issue has been patched.

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 report has not been written yet. The Original tab links to the source.

Bitwarden is a password manager that encrypts your data before it leaves your device. Some of its apps accidentally sent the original, unencrypted name of an attachment to the server. A server run by someone with bad intentions could read those names, even though the normal server ignored them.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Bitwarden

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.