50 Ways to Inject Your SQL

Marc Olanié vient de m’envoyer le lien vers un clip super sympa… allez je vous en fais profiter, ainsi que des paroles (plus bas) qui sont croustillantes ;)

Enjoy !

(Auteur et source : Paco Hope)

I see your input’s not validated properly
You have to check it at all tiers: 1, 2 and 3
Give me a browser and quite soon you will agree. There must be
50 ways to inject your SQL

You see it really is my business to intrude
The CTO wants to see this web app broke into
Turn on my proxy and all doubt will be removed. There must be
50 ways to inject your SQL
50 ways to inject your SQL

Try a quick hack, Jack
Add a new row, Joe
Try an insert, Kurt
Change their SQL query

Evade the regex, Rex
Encode it all in hex
Unbalance the quotes, Vinod
And change the query

Break the syntax, Max
Use a backslash, Cash
Try command shell, Mel,
And change the query

Use “one equals one,” son,
Unhandled exception!
Read the stack trace, ace
and change the query

He said our application is secure against your kind
There are no simple vulnerabilities to find
I said your coders write their code like they are blind, there must be
50 ways to inject your SQL

He said our logs show unexpected funds were sent
Its probably time we started using Prepared-Statements
I said I’m glad you’re seeing what I meant, there were
50 ways to inject your SQL
50 ways to inject your SQL

Break the syntax, Max
Use a backslash, Cash
Try command shell, Mel,
And change the query

Use “one equals one,” son,
Unhandled exception!
Read the stack trace, ace
and change the query

Try a quick hack, Jack
Add a new row, Joe
Try an insert, Kurt
Change their SQL query

Evade the regex, Rex
Encode it all in hex
Unbalance the quotes, Vinod
And change the query

2 Comments »

Bruno Kerouanton on juin 18th 2009 in Fun and odd, IT Security, Music

2 Responses to “50 Ways to Inject Your SQL”

  1. ITI responded on 19 juin 2009 at 10:19 #

    Sifflez en hackant, la la la… he ho, he ho, XSS au boulot…. :)

  2. Cédric Pernet responded on 19 juin 2009 at 14:53 #

    Ton titre de post me fait penser à un morceau de Megadeth, mon ptit Bruno : « 99 Ways to Die » ;-)

Trackback URI | Comments RSS

Laisser un commentaire