BugTraq
Back to list
|
Post reply
Re: Vbulletin 3.7.0 Gold >> Sql injection on faq.php
May 27 2008 04:10AM
skyline yahoo com
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) . "%')";)
[ reply ]
Privacy Statement
Copyright 2010, SecurityFocus
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) . "%')";)
[ reply ]