Closed Bug 1487965 Opened 6 years ago Closed 6 years ago

Cross-Origin URL Steal is possible using performance.getEntries()

Categories

(Core :: DOM: Navigation, defect)

60 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1487964

People

(Reporter: proof131072, Unassigned)

References

Details

(Keywords: csectype-sop, sec-high)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 Steps to reproduce: This is a variant of https://bugzilla.mozilla.org/show_bug.cgi?id=1487964. We don't need to run the main page inside an iframe, also note that while the original bug works on both latest and older version of Firefox, this one only works on latest Firefox Nightly. The original bug do not affect Microsoft Edge but this does affect Microsoft Edge. First, we are using Resource Timing API to confuse this browser and this functionality problem ends up being a security bug. We are navigating the cross-origin page inside an embed tag. We can fool the browser, we are able to access cross-origin URLs. This allows us to access information across origins. Test live on: http://pwning.click/redirffeg2.php Proof Of Concept: redirffeg2.php: <embed src="/conff.php"> <script> setTimeout(function(){alert(performance.getEntriesByType("resource")[2].name)},5000); </script> conff.php: <Script>location="https://www.bing.com/search?q=test"</script> Tested on Firefox Nightly 63.0a1 (2018-08-31) (64-bit) Actual results: Mozilla Firefox allows us to access Cross-Origin URL. Expected results: Accessing to Cross-Origin URL should be not possible.
Note that this only works on Firefox Nightly for Firefox browser.
Same as for bug 1487964, Dragana, can you have a look?
Group: firefox-core-security → dom-core-security
Component: Untriaged → Document Navigation
Flags: needinfo?(dd.mozilla)
Product: Firefox → Core
This is probably the same code bug as 1487964, but we'll see when we get it fixed.
I think this is duplicate of 1487964.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(dd.mozilla)

Removing employee no longer with company from CC list of private bugs.

Group: dom-core-security
You need to log in before you can comment on or make changes to this bug.