Web Hacking
As demands for interaction in websites continue to increase, web developers must create ever more complicated solutions operating just under the surface. Web hacking, hacking using only (or little more than) a web browser, is a common method to circumvent the network's defenses and get a web program to execute according to your own parameters. Since it doesn't require any actual networking knowledge it tends to appeal to script kiddies and neophyte hackers, but its effectiveness should not be underestimated.
Contents
- XSS - Cross Site Scripting
- A Simple Sterilization Example
- Javascript
- SQL - Structured Query Language
XSS - Cross Site Scripting
Cross site scripting refers to the act of code injection into a webpage. The name itself is a bit misleading, since there is often no cross site behavior (or even scripting[1]). One of the most common occurrences is code entered through page forms that aren't "sterilized". An unsterilized form reads input without filtering potentially harmful characters or strings.
For a trivial example, imagine a "guest book" form on a website. A simple underlying cgi or PHP script appends the form's input string to a text file, and on loading the page outputs the file with the appropriate HTML tags. But what happens when a guest enters their own HTML? If a guest enters enters the infamous "blink" tag, the browser will interpret it as just another HTML tag and perform the expected action. If the user also fails to include an ending tag, the behavior could continue until the end of the page. Conversely, a "