-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
The Web Application Hacker's Handbook
By :
A basic approach to identifying XSS vulnerabilities is to use a standard proof-of-concept attack string such as the following:
"><script>alert(document.cookie)</script>
This string is submitted as every parameter to every page of the application, and responses are monitored for the appearance of this same string. If cases are found where the attack string appears unmodified within the response, the application is almost certainly vulnerable to XSS.
If your intention is simply to identify some instance of XSS within the application as quickly as possible to launch an attack against other application users, this basic approach is probably the most effective, because it can be easily automated and produces minimal false positives. However, if your objective is to perform a comprehensive test of the application to locate as many individual vulnerabilities as possible, the basic approach needs to be supplemented with more sophisticated...
Change the font size
Change margin width
Change background colour