Posted on Tuesday 7 June 2005
I’m looking for an apartment for July and a local newspaper site offers premiere access to their classifieds before they’re published. For 24.95$ a month. After I paid my subscription, I thought: “Hey, maybe these guys didn’t think about SQL injection.”. So in the username field I typed “‘ OR 1=1 –” and bam! there’s the secure site. So much for my 24.95$.
Guys, be careful about SQL injection. It takes 2 minutes to hack a site that doesn’t escape single quotes. Don’t let it be yours.


