Arbitrary application execution with screen reader
Originally disclosed on Mozilla
- Fixed in 5 days
- Paid in 5 days
- Disclosed after 5 days
Created attachment 8595954
2015-04-22-08-40-28.png
User Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2376.0 Safari/537.36
Steps to reproduce:
The caption box for screen reader doesn't escape HTML tags contained in an input string (below).
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/accessibility.js#L596
It can be a cause of arbitrary application execution vulnerability.
The detailed attack scenario on Firefox OS 3.0 is below.
1. Open following URL by Browser app
https://www.google.co.jp/search?q=%3Ciframe%20mozbrowser%20remote%20mozapp=%22app://fm.gaiamobile.org/manifest.webapp%22%20src=%22app://fm.gaiamobile.org/index.html%22%3E
2. Activate "Screen Reader" function from accessibility menu in setting app and enable "Display speech" option
3. Open Browser app again and focus a cursor to the window opened in 1
Actual results:
FM radio app is executed on the caption box dialog like the attached picture.
Expected results:
HTML tags in the input string should be displayed as a plain text on the caption box.
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 security bug in Gaia::System. Mozilla made it public on 27 April 2015.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.