Closed
Bug 412729
Opened 16 years ago
Closed 16 years ago
XSS using event listener
Categories
(Core :: XPConnect, defect, P1)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
People
(Reporter: moz_bug_r_a4, Assigned: mrbkap)
References
Details
(Keywords: regression, testcase, Whiteboard: [sg:high] post 1.8-branch)
Attachments
(2 files)
This seems to be a problem caused by the fix for bug 352791. 1. Get an object from a subframe and register it as an event listener. 2. Load a target site in the subframe. 3. Dispatch an event. The event listener is called with the target site's principal. fx-3.0b3pre-2008-01-15-04: not exploitable fx-3.0b3pre-2008-01-16-04: exploitable
Reporter | ||
Comment 1•16 years ago
|
||
This tries to get cookies for www.mozilla.com. This works on trunk.
Updated•16 years ago
|
Updated•16 years ago
|
Updated•16 years ago
|
Updated•16 years ago
|
Flags: blocking1.9? → blocking1.9+
Assignee | ||
Comment 2•16 years ago
|
||
The patch in bug 412598 fixes this. I didn't bother figuring out exactly the series of events that happens to cause the XSS opportunity. The underlying cause is the same as in bug 412598.
Depends on: 412598
Updated•16 years ago
|
Flags: wanted1.8.1.x-
Whiteboard: [sg:high] → [sg:high] post 1.8-branch
Reporter | ||
Comment 3•16 years ago
|
||
Bug 412598 is fixed, but this XSS can still work if there is no JS on the stack.
Reporter | ||
Comment 4•16 years ago
|
||
This works on fx-3.0b3pre-2008-01-23-04.
Assignee | ||
Comment 5•16 years ago
|
||
The patch in bug 413200 fixes this for real.
Assignee | ||
Comment 6•16 years ago
|
||
This should be fixed for real now.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Flags: in-testsuite?
Updated•14 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•