Πέμπτη 8 Ιανουαρίου 2015

What is sql injection vulnerability

SQL injection is a technique which code injection "operate" a weak security point occurs at the level of a database application.

The vulnerability is present when user registration has been filtered incorrectly characters embedded in SQL statements or user registration is not strongly typed and thereby have resulted in improper "run" them. Is an example of a more general class of weak points which may happen when a programming language is over another. The SQL injection attacks are known as Mr. SQL insertion attacks. In simple terms, the attacker can create a specific URL field of a website or web application and to extract important information from the database such as design, the database schema, the column structures or files that may contain very important information, such as user names and passwords. A study shows that over 60% of web applications using dynamic content are rather vulnerable Him type of attack. To check if your website or web application is prone to "attack" this, follow the simple instructions below:


 1. Find a URL in your website or web application that resembles the following format:

http://www.yoursite.com/page.php?id=1

2. Then, modify the URL by adding the point "'" without the quotes in front or behind the integer. Check the example below as a reference. Any of the examples included can be used.

http://www.yoursite.com/page.php?id=1 '

or

http://www.yoursite.com/page.php?id='1

3. Insert the modified URL into your browser and check the result. There will be two different results that have been produced. The output will determine whether the website or your web application that has been tested is vulnerable or not. If the page "load" without error then your website or web application is likely not to be vulnerable to SQL injection attacks. On the other hand, if the page shows an error like the one included or any other, then the page is vulnerable to this type of "attack".

** SQL query failed **
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'something' at line 8

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου