performance.getEntries() shows x-domain URLs after a redirect when loading from cache
- Fixed in 2 months
- Paid in 4 months
- Disclosed after 2 months
Created attachment 8635723
PoC code (does not work from file://)
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:
It is possible to read x-domain URLs after a redirect if the page can be iframed. What I think is a violation of the SOP and could be used to steal sensitive data from several pages.
If http://victim/ redirects to http://victim/?secret an attacker can iframe the first page and obtain the "secret" of the second one.
The exploit abuses what seems a bug in performance.getEntries() when dealing with cached pages.
Details and PoC: http://vwzq.net/lab/xreadurl/
Actual results:
performance.getEntries() contains the destination URL of the redirection after using history.back() and loading the page from browser's cache
Expected results:
performance.getEntries() should show the original URL instead of the redirection's destination
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 info disclosure bug in DOM: Core & HTML. Mozilla made it public on 30 September 2015 as CVE-2015-7207.
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.