HTML injection on System app via Bluetooth device name
Originally disclosed on Mozilla
- Fixed in 4 days
- Paid in 9 days
- Disclosed after 4 days
Created attachment 8642128
reproduced.png
1. Prepare a device that Firefox OS 2.5.0.0-prelease is running.
I used my Flame with a firmware id 201507311030207.
2. Prepare a Bluetooth device (e.g., Android phone) that device name is "<s>pwn<iframe src=/></iframe>".
3. On the Firefox OS device, launch Bluetooth menu on Setting app and enable "Visible to all" option.
4. On the Bluetooth device prepared at step 2, transfer a image file to the Firefox OS device.
5. If the bug reproduced an iframe is shown on an "Accept Bluetooth file transfer?" dialog on System app (see reproduced.png).
Note that this attack doesn't require paring the device beforehand and the injected code runs with System app privilege.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A high-severity XSS bug in Gaia::System. Mozilla made it public on 6 August 2015.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.