Cross SIte scripting



Stephen Boles
Code Fellows
stephenboles@gmail.com

Road MAP


  1. How Does It Work?
  2. Types of XSS
  3. Consequences
  4. How To Prevent?
  5. Further Reading
  6. Picture Of Puppy



HOW DOES IT WORK?


  1. Hackers infect a web page with malicious client-side script.
  2. A user visits this web page, the script is downloaded to his browser, and executed.

TYPES OF XSS


  • (Persistent) or Stored XSS Attacks
    • Those where the injected script is permanently stored on the targets servers.
  • (Non-Persistent) or Reflected XSS Attacks
    • Reflected off the web server, such as an error message, search result,  etc.  Done by tricking users with a malicious link, etc.



XSS Consequences


  • Potential disclosure of users cookie sessions, allowing a hacker to hijack users account and take over the account.

  • Installation of Trojan Horse programs, redirecting user to some other site, and possibly spoof content .

How to prevent


Resources


EVEN MORE RESOURCES



deck

By Stephen Boles