Skip to content
Crypto Write-up Advanced

The Recovery Button That Broke a Zero-Knowledge Promise

The platform's support recovery feature allowed the operator to re-wrap a user's master key using a recovery key accessible to support, contradicting the zero-knowledge promise. An attacker with support access could recover unwrapped keys for affected users.

Abdallah Hammad Follow

Published on medium.com

It sounds reassuring. For a platform holding passwords, private messages, documents, and videos intended for someone’s family after death, it is also a serious promise.

Abdallah Hammad, 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 recovery feature was designed to allow support to re-wrap the master key, creating an operator-accessible path to key material.

Impact

For users who opted into the recovery feature, the operator could access their unwrapped keys, violating the zero-knowledge guarantee.

What the attacker needed

User opted into recovery feature; support access

The fix

The server-side recovery-key route was removed and replaced with client-side social recovery using Shamir secret sharing.

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.

Zero-knowledge means the service cannot read your data even if it wanted to. Here, a recovery feature let support staff access a key that could unlock user files, breaking that promise for some users.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.