Thread: Funny stuff
View Single Post
Old 17th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

I just read further in the code, and there's ....

Code:
"DELETE FROM debiteur_configuraties WHERE configuratie_id=$configuratie_id"
There $configuratie_id the same variable as above.

So call this script with "?configuratie_id=%" and you just deleted all of our customers configuration setups stored in our database.

SQL injection was never easier.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote