RTL override symbol not stripped from file names
File names containing the Unicode right-to-left override character are not sanitised, so an uploaded executable can be displayed with a misleading harmless-looking name. This could trick users, such as HackerOne panel members, into opening a malicious file.
- Triaged in 4 hours
- Fixed in 22 hours
- Paid in 22 days
- Disclosed after 19 months
Any U+202E RIGHT-TO-LEFT OVERRIDE (and similar) symbols in file names of uploaded files are not stripped from the file name, causing potentially malicious executables to look like harmless images, for example. This might trick HackerOne panel members into accidentally opening evil h4x0r filez.
I’ve attached two files:
- one is named
insane_in_the_cort[RLO]3pm.exe, which gets rendered asinsane_in_the_cortexe.mp3, making it look like a harmless mp3 file of a well-known Cypress Hill song. - another is named
po[RLO]gnp.app, which gets rendered aspoppa.png, as if it was just a PNG image.
I’ve also attached a screenshot showing what it looks like after uploading the files.
Attachments

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 file upload handling does not strip or normalise Unicode bidirectional control characters from file names before displaying them.
Impact
An attacker could upload a malicious executable that appears to be a harmless image or audio file, potentially tricking a user into opening it.
What the attacker needed
Ability to upload files
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 called something.exe can appear as something.mp3. The upload feature does not remove these characters, so an attacker can upload a dangerous file that looks safe. A user might then open it thinking it is a harmless image or song.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.