Spoofing via filename download (firefox android)
A filename containing newline or carriage return characters could be used to spoof the displayed filename during download in Firefox for Android. An attacker could make a malicious APK file appear as a harmless document file to trick a victim into opening it.
- Fixed in 12 months
- Paid in 12 months
- Disclosed after 12 months
Created attachment 9343473
firefox_downloadspoof.mp4
I found vulnerability via filename donwload using \n or \r . lead to spoof filename
step to produce:
1. open http://103.186.0.20/downloadspoof.html or downloadspoof.html
2. click "open" button
impact : victim can be spoofed will think that it is a document file and even though it is an apk file
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
Impact
A victim could be tricked into thinking an APK file is a document, potentially leading them to install malicious software.
What the attacker needed
Victim uses Firefox for Android; victim downloads a file with crafted filename; victim clicks the download link
How it was found
- Open the provided test page in Firefox for Android.
- Click the 'open' button to trigger the download.
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.
When you download a file, your browser shows its name. This report says that by putting special invisible line-break characters in the filename, an attacker can make the browser show a different, fake name. That could trick someone into thinking they are opening a safe document when it is actually an Android app that could harm their phone.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.