Forum Moderators: coopster
Here is the code code i found :
SQL Injection
SecRule REQUEST_URI "/(selloffers¦buyoffers¦products¦profiles)\.php" chain
SecRule ARGS:cid "((select¦grant¦delete¦insert¦drop¦alter¦replace¦truncate¦update¦create¦rename¦describe)[[:space:]]+[A-Z¦a-z¦0-9¦\*¦ ¦\,]+[[:space:]]+(from¦into¦table¦database¦index¦view)[[:space:]]+[A-Z¦a-z¦0-9¦\*¦ ¦\,]¦\'¦UNION.*SELECT.*FROM)"
Thanks for any help
hanyaz
It is not a patch - it is just a rule which will prevent the exploit from reaching the vulnerable app.
You have two options here. The first is to 'fix the app'.
The second is where you add that rule to your modsecurity ruleset. But you can only do that if you have modsecurity installed.