Docsity

Remote Human Exploitation: Attack a Forum using Cross Site Scripting | ECPE 178, Lab Reports of Cryptography and System Security

Toggle sidebar
bg1
LAB #12LAB #12
Your Your
assignment, assignment,
should you should you
choose to accept choose to accept
it…it…
12/20/2007 1LAB 12
If any of your force be killed or
captured, the secretary will
disavow any knowledge of your
actions...this tape will self destruct
in 5 seconds...
Good Luck, Jim
it…it…
Remote/human Remote/human
exploitation: Attack a exploitation: Attack a
forum using crossforum using cross--site site
scripting (XSS)scripting (XSS)
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Remote Human Exploitation: Attack a Forum using Cross Site Scripting | ECPE 178 and more Lab Reports Cryptography and System Security in PDF only on Docsity!

LAB #12LAB

YourYourassignment,assignment,should youshould youchoose to acceptchoose to accept it…it…

LAB 12

If any of your force be killed orcaptured, the secretary willdisavow any knowledge of youractions...this tape will self destructin 5 seconds... Good Luck, Jim

it…it… Remote/humanRemote/humanexploitation: Attack aexploitation: Attack aforum using crossforum using cross-

-site

site

scripting (XSS)scripting (XSS)

LAB #12LAB

Scenario

You have a remote target, a popular forum website that yourhuman targets use to post comments to one another. Yourtask is to use XSS to modify that site in a way that tricksyour targets into giving you information. Barring that, atleast let the site owner there’s a problem by inserting an alert popup.

12/20/

LAB 12

popup. Choose your target:

http://www.jkandtc.com/blog

everyone shares,

fighting each other!

or http://www.jkandtc.com/

n

/blog

yours to do whatever!

Where

n

  • your laptop number (01, 02, 03, etc.)

LAB #12LAB

Potential Show Stoppers

  1. The site creator must not filter user input.2. Your IP address will be logged.

LAB 12

Log into:www.jkandtc.com/<pc-num>For example:www.jkandtc.com/01Then click on “Blog” LAB 12

Inserting Javascript thatcreates a pop-up…

LAB 12

What appears after the pop-up is closed

Attacker’s “comment”

An IFrame XSS Attack

LAB 12

Now, let’s perform an IFrame

injection attack against a very

popular

website (e.g. YouTube). The attackerinjects his complete malicious

website

into the popular site!

Attacker’s “comment”

Use W2000 IP

Let’s be Sysadmin

LAB 12

Here, we insert the login page at theattacker’s website – if the victim falls for it,the attacker gets the blog visitor’s usernameand password….

  • LAB