On Sun, 01 May 2011 15:03:22 +1200, Murray Symon
<> wrote:
>
>With Javascript running lots of attacks are possible.
>One possibility is cross-site scripting (XSS).
I read the wikipedia article on this but I can't understand very much.
<quote>
Mallory crafts a URL to exploit the vulnerability, and sends Alice an
email, enticing her to click on a link for the URL under false
pretenses. This URL will point to Bob's website, but will contain
Mallory's malicious code, which the website will reflect.
Alice visits the URL provided by Mallory while logged into Bob's
website.
The malicious script embedded in the URL executes in Alice's browser,
as if it came directly from Bob's server (this is the actual XSS
vulnerability). The script can be used to send Alice's session cookie
to Mallory. Mallory can then use the session cookie to steal sensitive
information available to Alice (authentication credentials, billing
info, etc.) without Alice's knowledge.
<end quote>
A URL is something like
http://bob.com right?
How can a URL "contain malicious code" or have a malicious script
embedded in it?