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.
Published on medium.com
{{media:0}}
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
- Copy the prepared block of invisible characters from the linked paste.
- On the web version, create a new note, add a title and paste the block into the body, then publish it.
- 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.