Mailing List Archive

Cross-Site Scripting Attacks Possible At Multiple Webspace Providers
Issue: Multiple web space providers are susceptible to script-based origin
validation attacks.
Impact: Cookie theft, page manipulation, ...
Additional Information: http://www.murphy.101main.net/vulns/2002-24.txt

Many web space providers offer their users web space by way of a
folder-based URL, something like this:

http://www.domain.com/community/uid

An interesting scenario occurs when pages are visited on (commonplace)
JavaScript-enabled browsers. The same-origin policy that is used to avoid
cross-frame security violations is completely compromised, as the only
difference in these URLs to the browser is folder/virtual paths, not
sufficient for a same-origin violation. This vulnerability allows anyone
who can create a webspace account on the host to manipulate the appearance
of other hosted sites provided the victim can be coaxed to a page under
their control.

This allows for typical cross-domain scripting attacks (stealing cookies,
reading form data, ...), which could be pretty devastating, as one site
instantly has access to the guts of a few thousand (million?) others.

I have confirmed that Terra Lycos' AngelFire service is vulnerable, and also
Yahoo! Geocities is believed susceptible. It is very likely that others are
vulnerable.

"The reason the mainstream is thought
of as a stream is because it is
so shallow."
- Author Unknown
Re: Cross-Site Scripting Attacks Possible At Multiple Webspace Provid ers [ In reply to ]
I thought this was as widely known as the ability to spoof the sender address in emails. Like you said: "The same-origin policy that is used to avoid
cross-frame security violations is completely compromised" because it all comes from the same origin.

Maybe people just don't know, but i've known this since I first learned about browser script security.

Berend-Jan Wever aka SkyLined


http://spoor12.edup.tudelft.nl
----- Original Message -----
From: Matthew Murphy
To: Vuln-Dev ; SecurITeam News ; Full Disclosure ; BugTraq
Sent: Tuesday, August 06, 2002 6:19
Subject: [Full-Disclosure] Cross-Site Scripting Attacks Possible At Multiple Webspace Provid ers


Issue: Multiple web space providers are susceptible to script-based origin
validation attacks.
Impact: Cookie theft, page manipulation, ...
Additional Information: http://www.murphy.101main.net/vulns/2002-24.txt

Many web space providers offer their users web space by way of a
folder-based URL, something like this:

http://www.domain.com/community/uid

An interesting scenario occurs when pages are visited on (commonplace)
JavaScript-enabled browsers. The same-origin policy that is used to avoid
cross-frame security violations is completely compromised, as the only
difference in these URLs to the browser is folder/virtual paths, not
sufficient for a same-origin violation. This vulnerability allows anyone
who can create a webspace account on the host to manipulate the appearance
of other hosted sites provided the victim can be coaxed to a page under
their control.

This allows for typical cross-domain scripting attacks (stealing cookies,
reading form data, ...), which could be pretty devastating, as one site
instantly has access to the guts of a few thousand (million?) others.

I have confirmed that Terra Lycos' AngelFire service is vulnerable, and also
Yahoo! Geocities is believed susceptible. It is very likely that others are
vulnerable.

"The reason the mainstream is thought
of as a stream is because it is
so shallow."
- Author Unknown
---------------------------------------------------------------------

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and
is protected by law. If you are not the intended recipient, you
should delete this message and are hereby notified that any
disclosure, copying, or distribution of this message, or the taking
of any action based on it, is strictly prohibited.



_______________________________________________
Full-Disclosure - We believe in it.
Full-Disclosure@lists.netsys.com
http://lists.netsys.com/mailman/listinfo/full-disclosure
Re: Cross-Site Scripting Attacks Possible At Multiple Webspace Provid ers [ In reply to ]
>I thought this was as widely known as the ability to spoof the sender
address in emails. Like you said: "The same-origin >policy that is used to
avoid cross-frame security violations is completely compromised" because it
all comes from the same >origin.
>
>Maybe people just don't know, but i've known this since I first learned
about browser script security.

I would far rather provide information that you can simply skip over than
not provide that information and leave someone else confused. Therefore, I
aim to provide as much info as possible and let the (informed) user decide
what to do.