How to exploit the SQL Injection AttackExploiting an SQL Inject attack involves solving a puzzle that is a cross between Hangman and 20 Questions. It needs a little understanding of SQL and a great deal of cunning. Try your Hacking skills against this test system. It takes you through the exploit step-by-step. The SQL Injection attack allows external users to read details from the database. In a well designed system this will only include data that is available to the public anyway. In a poorly designed system this may allow external users to discover other users' passwords. Try these steps:
|
Try
' OR ''=' for user name and password. |
WARNING: In many countries (including UK) it is illegal to use this attack. I've set up a vulnerable test system here so that you can have a go. I promise not to prosecute.
Bragging Board If you can figure out a username and password combination then you can brag about it here"
Note that phpBB is NOT vulnerable to an SQL Injection attack. But to use this one you must first get a user name and password.