Skip to content
Misconfiguration Disclosed report Beginner

RTLO char allowed in chat

The chat application does not filter the Unicode right-to-left override character (U+202E), allowing an attacker to send a message where a malicious file extension such as .exe is visually displayed as a benign one like .mp3. A victim could be tricked into clicking a link that appears to point to a harmless file.

kontez Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 42 days
  • Paid in 53 days
  • Disclosed after 53 days

Hey all,

There seems to be no filtering of strange unicode characters such as U+202E which is an Right-To-Left-Override. I can send messages like "Hey check out my new song at example.com/song[rtlo]3pm.exe" and everyone would see the link as "example.com/songexe.mp3". Links that end with .exe are very suspicious but everyone would click on a link that ends with .mp3, filtering those characters would prevent clickjacking. I tested this on the latest version of the Android App.

Thanks, Marvin

Attachments

photo59550190166717602.jpg
photo59550190166717602.jpg From the original on HackerOne

The original report as published on HackerOne, by kontez. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the chat input and rendering do not filter or escape bidirectional control characters such as U+202E, allowing them to alter the visual order of text.

Impact

An attacker could trick users into clicking a link to an executable that appears to be a harmless media file.

What the attacker needed

Ability to send chat messages; victim views the message

The fix

Filtering bidirectional control characters such as U+202E in chat messages would prevent visual spoofing.

How it was found

  1. Open the chat and compose a message containing a link with a file extension.
  2. Insert the right-to-left override character before the final part of the file name.
  3. Send the message; other users see the link with a different, benign-looking extension.

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 report has not been written yet. The Original tab links to the source.

Some Unicode characters change the direction text is displayed, so a file name ending in .exe can look like it ends in .mp3. Because the chat does not block these characters, an attacker can make a dangerous link look safe. This is a form of visual trickery, not a direct hack of the app.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Snapchat

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.