Download arbitrary files to SD card via additional slashes in file: URI
Originally disclosed on Mozilla
- Fixed in 17 hours
- Paid in 4 days
- Disclosed after 17 hours
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36
Steps to reproduce:
If we input the URL in the address bar such as:
file:///data/data/org.mozilla.firefox/files/mozilla/xxxxxxxx.default/cookies.sqlite
the download will not be invoked because the update in Firefox 28.0.1
But we can simply add ‘/’ before folders in the URL:
file:////data/data/org.mozilla.firefox/files/mozilla/gnxblohb.default/cookies.sqlite
Actual results:
The cookies will be automatically downloaded in the SDcard so that all apps in the devices get access to the cookies which save users privacy information.
Expected results:
No matter what users input in the address bar, the cookies should not be downloaded into SDcard.
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 General. Mozilla made it public on 9 August 2014 as CVE-2014-1566.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.