Closed Bug 1221681 Opened 9 years ago Closed 9 years ago

Performance APIs reveal cross-origin URLs

Categories

(Core :: DOM: Core & HTML, defect)

45 Branch
All
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1185256

People

(Reporter: chromium.khalil, Unassigned)

Details

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.


PoC: 

http://vwzq.net/lab/xreadurl/
Group: firefox-core-security → core-security
Component: Preferences → DOM
Product: Firefox → Core
This has been fixed already in Nightly and Developer Edition, not yet released to public.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Group: core-security
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.