Closed Bug 1774951 Opened 2 years ago Closed 2 years ago

Guessing the URL a cross-origin iframe was redirected to by listening to the load event

Categories

(Core :: DOM: Navigation, defect)

Firefox 101
defect

Tracking

()

RESOLVED DUPLICATE of bug 1741034

People

(Reporter: negibokken, Unassigned)

References

Details

(Keywords: csectype-disclosure, sec-moderate)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Steps to reproduce:

It's described on https://crbug.com/1248444 as a REPRODUCTION CASE. But I compliment the case for being easy to reproduce.

The information of a User-Agent is as below:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0

Actual results:

The cross-origin iframe onload event for the current URL won't be fired.

I quote the original issue.

This likely happens because a navigation to the current URL is treated as a soft reload and it doesn't trigger the load event (unlike a normal navigation).

Expected results:

The cross-origin iframe onload event for the current URL should be fired.

Summary: cross origin iframe load event can use for a malicious way → cross origin iframe load event can be used for a malicious way

The same reporter of the Chrome issue reported some similar issues. I'm not sure if this is a dupe of them or not. I'd assume they'd report the same issue if we were affected by it but I haven't checked.

Group: firefox-core-security → dom-core-security
Component: Untriaged → DOM: Navigation
Product: Firefox → Core
See Also: → 1741034
Summary: cross origin iframe load event can be used for a malicious way → Guessing the URL a cross-origin iframe was redirected to by listening to the load event
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
Group: dom-core-security
You need to log in before you can comment on or make changes to this bug.