Skip to content
Info disclosure Write-up Beginner

Account Deletion Flaw Exposes Chats, Researcher Gets $1,000 (5/30

When a user deleted their account, their username could be reassigned to a new user, who then saw the old chat history with other users. This exposed private conversations that should have been deleted or anonymised.

0day stories Follow

Published on medium.com

I’m a security researcher, and I’ve taken on the challenge of explaining one bug bounty report every day for the next 30 days, 30 reports!

0day stories, 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 system reassigned a deleted user's username without deleting or anonymising the chat messages tied to that username.

Impact

A new user who receives a deleted username could read the previous user's private chat history, which may also breach data-deletion rules such as GDPR.

What the attacker needed

A Nextcloud server with chat; ability to delete and recreate a username; victim had chatted with the deleted user

The fix

The researcher suggested stopping username reuse unless old data is properly cleared; the text does not state that a fix was deployed.

How it was found

  1. Create two accounts, userA and userB, on the server.
  2. Exchange chat messages between userA and userB.
  3. Delete userB's account.
  4. Register or assign a new user with the same username userB.
  5. Open the chat with userA as the new userB to see the old messages.

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.

On a chat service, each account has a username. If someone deletes their account and a new person later gets the same username, the new person should start with an empty chat. Here, the old messages were still stored and shown to the new person, leaking private conversations.

What is Info disclosure?

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

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.