Skip to content
Info disclosure Write-up Beginner

Accessing full history of Firepad users.

Firepad does not delete pasted data from its server when a user deletes it; the WebSocket that loads a pad also returns the entire history of everything ever pasted. Anyone who knows a pad identifier can retrieve deleted content, potentially exposing sensitive data.

adityaahuja.work Follow

Published on medium.com

Firepad is an open-source, collaborative code and text editor which allows users to easily copy-paste contents from one instance to another.

Aditya Ahuja, 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 backend stores the full operation history and sends it over the WebSocket on load, without deleting data on user deletion or requiring authentication.

Impact

This could leak sensitive data such as passwords or keys that a user pasted and then deleted, and because there is no authentication, anyone who knows a pad identifier can access private pads and their history.

What the attacker needed

Knowing the pad identifier; no authentication required

How it was found

  1. Create a private pad and paste content into it.
  2. Intercept the HTTP and WebSocket requests made when the pad is created and data is entered.
  3. Observe that the WebSocket request to the backend loads existing data and also the whole history.
  4. Remove the data from the editor and send the request again.
  5. Receive the deleted content in the response.

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.

Firepad is a collaborative editor where you create a pad by name. The report found that when you delete text, the server keeps it, and the connection that loads the pad also sends back all old versions. Because pads have no login, anyone who guesses or knows the pad name can see what was deleted.

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.