Skip to content
Info disclosure Disclosed report CVE-2015-7186

file: URIs SOP Bypass: Local private data into the local firefox folder "file:///(...)/cache/[*******].default/cache2/entries/" can be stolen using an automatic download of a html file and interact with this html file downloaded

Jordi Chancel Follow

Originally disclosed on Mozilla

  • Fixed in 33 days
  • Paid in 35 days
  • Disclosed after 33 days

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:39.0) Gecko/20100101 Firefox/39.0 Build ID: 20150630154324

Steps to reproduce:

With firefox for Android it's possible to download automaticly an html file with normal configuration using a PHP remote file. When you go on the HTML file automaticly downloaded and interact with it , it's possible to steal private data into the local firefox folder : "file:///data/data/org.mozilla.firefox/cache/[*******].default/cache2/entries/" which contains sensitive data like partial or full content of a website visited, token verification key , what the user has searched on google or other website (showed in the demonstration video that i will uploaded), and very much others private data which can lead to very confidential data stealing.

This sensitive data stealing is possible because when you download a file which is into the firefow folder : "file:///data/data/org.mozilla.firefox/cache/[*******].default/cache2/entries/" , it is downloaded into the download folder and canbe read by an html file and sent on a malicious website scheduled to save data sent on this website.

I have tested this vulnerability on a Samsung Galaxy S5 4g+ Lolipop Android version 5.0.2 and a Samsung Galaxy Tab A Lolipop version 5.0.2 with the last public version of Firefox for Android : Firefox 39.0 I will upload a video for show you how to interact with the testcase.

Actual results:

Very sensitive data into the local firefox folder "file:///data/data/org.mozilla.firefox/cache/[*******].default/cache2/entries/" can be stolen leading to private data theft.

Expected results:

All files into the the local folder "file:///data/data/org.mozilla.firefox/cache/[*******].default/cache2/entries/" should not be downloaded into the download folder because this can lead to sensitive data stealing.

Vulnerability bug reported by Security researcher Jordi Chancel.

The original report as published on Mozilla's Bugzilla, by Jordi Chancel. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 medium-severity info disclosure bug in General. Mozilla made it public on 12 September 2015 as CVE-2015-7186.

About Info disclosure

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Jordi Chancel

View all

23 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.