Red Hat Bugzilla – Bug 188832
CVE-2006-1731 Cross-site scripting using .valueOf.call()
Last modified: 2007-11-30 17:07:24 EST
Cross-site scripting using .valueOf.call()
moz_bug_r_a4 discovered that .valueOf.call() and .valueOf.apply() when
called with no arguments were returning the Object class prototype rather
than the caller's global window object. When called on a reachable property
of another window this provides a hook to get around the same-origin
protection, allowing an attacker to inject script into another window.
Cross-site script injection can be used to steal confidential data such as
cookies or passwords, or perform actions on the user's behalf. It can also
be used to alter the content of the other window which could be used to fool
a user into trusting bogus information or downloaded content.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.