PDA

Bekijk Volledige Versie : Re: Vbulletin 3.7.0 Gold >> Sql injection on faq.php



skyline@yahoo.com
27/05/08, 17:15
This is a bogus issue. There is no SQL injection.

It does cause a DB error, but it's not injection related.

Read the code properly.

$vbulletin->GPC['q'] gets split up into an array. ($search)
This array then goes through a foreach loop ($search AS $word)
Each $word is escaped before being put into the query ($whereText[] = "text LIKE('%" . $db->escape_string_like($word) . "%')";)