Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 48 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Cross site scripting uses
EH-Net
May 25, 2013, 05:04:50 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Network Pen Testing
(Moderator:
don
) >
Cross site scripting uses
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Cross site scripting uses (Read 4420 times)
0 Members and 1 Guest are viewing this topic.
exeglitch
Newbie
Offline
Posts: 4
Cross site scripting uses
«
on:
December 23, 2011, 09:02:07 AM »
Hello everyone,
recently I learned some web page hacking and it went well. The tutorial covered SQL injection, brute forcing, file inclue / upload vulnerabilities and other stuff. Everything went well, however I still have a huge question mark on cross-site scripting.
What can you do with this kind of vulnerability ?
I mean, I understand you could add javascript for example, but it runs only locally. I don't really see the point on adding javascript code that would run only on your computer. And if you manage to get someone else to click on a malicious link, wouldn't it be better to just craft a website exactly for your needs ? I'm sure there's a very obvious use but I can't see it.
Please enlight me =)
Logged
xXxKrisxXx
Hero Member
Offline
Posts: 512
Re: Cross site scripting uses
«
Reply #1 on:
December 23, 2011, 09:38:33 AM »
Hi Exeglitch,
Welcome to the site! I used to think the same thing when I was introduced to XSS. I would say it all depends on how much you can leverage it. XSS can be used to do a whole lot, such as redirecting a users browser to a malicious URL (to inject client-side attacks, steal cookies, etc) and a lot more.
A good tool that proves how wicked leveraging Javascript on a victims can be is The Browser Exploitation Framework from
http://www.bindshell.net/tools/beef.html
.
Below are a few helpful links that could help you understand it further:
Hacker Uses XSS & Google Streetview Data to Determine Physical Location
vbSEO - From XSS to Reverse PHP Shell
Browser Exploitation with BeEF
Web Hacking - XSS Part 1
Web Hacking - XSS Part 2
Logged
eCPPT, GCIH, OSCP, OSWP
millwalll
Guest
Re: Cross site scripting uses
«
Reply #2 on:
December 23, 2011, 03:31:06 PM »
Good resources A good example of XSS recently I was working for client that had XSS on their site. When I told them they wanted me to prove it so I crafted a attack sent them a link and managed to steal their cookies from this I was able to log into the admin page and have access to all their customer details.
Logged
unicityd
Full Member
Offline
Posts: 156
Bored IT Manager, Crypto Nerd
Re: Cross site scripting uses
«
Reply #3 on:
December 23, 2011, 05:53:02 PM »
I've used XSS to implement Cross Site Request Forgery.
-Steven
Logged
BS in IT, CISSP, MS in IS Management (in progress)
exeglitch
Newbie
Offline
Posts: 4
Re: Cross site scripting uses
«
Reply #4 on:
December 23, 2011, 06:01:39 PM »
Quote from: Jamie.R on December 23, 2011, 03:31:06 PM
Good resources A good example of XSS recently I was working for client that had XSS on their site. When I told them they wanted me to prove it so I crafted a attack sent them a link and managed to steal their cookies from this I was able to log into the admin page and have access to all their customer details.
The big question I have is this: If you could get them them to click on a link, couldn't you make them go on ANY page of your choice that would steal their cookies ?
I haven't read xXxKrisxXx's pages yet but I'll make sure to do, they seem very informative on the subject and will probably help me understand better.
Thank you.
Logged
lorddicranius
Sr. Member
Offline
Posts: 447
Re: Cross site scripting uses
«
Reply #5 on:
December 23, 2011, 06:26:30 PM »
Quote from: exeglitch on December 23, 2011, 06:01:39 PM
Quote from: Jamie.R on December 23, 2011, 03:31:06 PM
Good resources A good example of XSS recently I was working for client that had XSS on their site. When I told them they wanted me to prove it so I crafted a attack sent them a link and managed to steal their cookies from this I was able to log into the admin page and have access to all their customer details.
The big question I have is this: If you could get them them to click on a link, couldn't you make them go on ANY page of your choice that would steal their cookies ?
It's more likely that a user will click on a URL containing a domain they're familiar with than a URL containing a random domain. Say for example an attacker finds a XSS in Facebook.com. An attacker could use a phishing attack and send an email containing a specially crafted URL using the Facebook.com domain. Much more likely that a user would click on that than sending them a phishing email with a link to gimmeurcredentials.com.
Logged
GSEC, eCPPT, Sec+
cmathiso
Newbie
Offline
Posts: 1
Re: Cross site scripting uses
«
Reply #6 on:
December 23, 2011, 06:34:23 PM »
Quote from: exeglitch on December 23, 2011, 06:01:39 PM
Quote from: Jamie.R on December 23, 2011, 03:31:06 PM
Good resources A good example of XSS recently I was working for client that had XSS on their site. When I told them they wanted me to prove it so I crafted a attack sent them a link and managed to steal their cookies from this I was able to log into the admin page and have access to all their customer details.
The big question I have is this: If you could get them them to click on a link, couldn't you make them go on ANY page of your choice that would steal their cookies ?
I haven't read xXxKrisxXx's pages yet but I'll make sure to do, they seem very informative on the subject and will probably help me understand better.
Thank you.
A large reason you might want to use a site with XSS instead of pointing someone to another malicious site pertains to trust. In other words, someone will be more likely to click on a link in an email that points to "trusted-site.com" that goes to a site that is vulnerable to reflective or persistent XSS versus clicking on "evil-site.com"
** It looks like lorddicranius beat me to the punch
«
Last Edit: December 23, 2011, 06:36:16 PM by cmathiso
»
Logged
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: Cross site scripting uses
«
Reply #7 on:
December 27, 2011, 11:00:37 AM »
It should also be noted, that unless there's a bug in the webbrowser, it is not possible to steal cookies across websites. For example microsoft.com won't be able to read the cookies from ethicalhacker.net, even though they're stored on the same computer. Otherwise, it would be very easy to hack / steal session cookies
Logged
I'm an InterN0T'er
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(30) by
don
Tools
: Symbolic Exploit Assistant project is looking for collaborators
(0) by
galapag0
Greetings
: Hi from the UK
(5) by
prats84
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(9) by
prats84
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.