<<< Date Index >>>     <<< Thread Index >>>

Re: [Full-disclosure] Firefox: serious cookie stealing / same-domain bypass vulnerability



weird, firefox slowly dies out

t2.html
<html>
        <body>
                <iframe src="t1.html"></iframe>
        </body>
</html>

t1.html
<html>
        <body>
                <script>location.hostname="blog.com";</script>
        </body>
</html>


On 2/15/07, pdp (architect) <pdp.gnucitizen@xxxxxxxxxxxxxx> wrote:
the first one runs in about:blank which is restricted. the second one
is very interesting but still not very useful because it acts like
about:blank. hmmm it seams that the hostname field has been seriously
overlooked.

On 2/15/07, Michal Zalewski <lcamtuf@xxxxxxxxxxxx> wrote:
> On Thu, 15 Feb 2007, pdp (architect) wrote:
>
> > I wander whether we can execute code on about:config or about:cache.
>
> Actually, there are several odd problems related to location updates and
> location.hostname specifically, including one scenario that apparently
> makes the script run with document.location in about: namespace.
>
> I did not research them any further, so I can't say if they're
> exploitable - but you can see a demo here, feel free to poke around:
>
>   http://lcamtuf.coredump.cx/fftests.html
>
> Cheers,
> /mz
> http://lcamtuf.coredump.cx/
>


--
pdp (architect) | petko d. petkov
http://www.gnucitizen.org



--
pdp (architect) | petko d. petkov
http://www.gnucitizen.org