Skip to content
DoS Write-up Beginner

DOS on Facebook android app using zero width no break characters

A Facebook note containing a very long run of zero-width no-break space characters caused the Facebook Android app to enter an endless loop when the note was opened. The user had to close the app, so a single crafted note could make the app unusable for anyone who viewed it.

Rahul Kankrale Follow

Published on medium.com

{{media:0}}

Rahul Kankrale, 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 Android app's note renderer did not cap or efficiently handle very long runs of zero-width characters, so it looped while laying out the text.

Impact

Opening the note on the Android app made it loop endlessly, forcing the user to close the app; the report notes Facebook treats persistent denial-of-service issues as in scope.

What the attacker needed

A Facebook account; victim opens the note in the Android app

The fix

It was fixed, according to the report's status note.

How it was found

  1. Copy the prepared block of invisible characters from the linked paste.
  2. On the web version, create a new note, add a title and paste the block into the body, then publish it.
  3. Open the published note in the Facebook Android app, which then hangs in an endless loop until the app is closed.

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.

Some invisible characters are still characters, and a phone app has to draw every one of them. If a note is filled with tens of thousands of these invisible characters, the app gets stuck trying to display it and stops responding. The person viewing the note then has to force-close the app.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Rahul Kankrale

View all

7 more disclosed reports, best first.

More from Meta

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.