Headline
CVE-2011-10002: Fixed SQLi bug described in https://code.google.com/p/weblabyrinth/is… · rotelok/weblabyrinth@60793fd
A vulnerability classified as critical has been found in weblabyrinth 0.3.1. This affects the function Labyrinth of the file labyrinth.inc.php. The manipulation leads to sql injection. Upgrading to version 0.3.2 is able to address this issue. The name of the patch is 60793fd8c8c4759596d3510641e96ea40e7f60e9. It is recommended to upgrade the affected component. The identifier VDB-220221 was assigned to this vulnerability.
@@ -45,11 +45,12 @@ public function Labyrinth($ip,$useragent){
global $config;
mt_srand(Labyrinth::MakeSeed());
$this->crawler_ip = $ip;
$this->crawler_useragent = $useragent;
$this->dbhandle = new SQLiteDatabase($config[‘tracking_db’]);
$this->crawler_info = $this->dbhandle->query(“SELECT crawler_ip FROM crawlers WHERE crawler_ip=’$ip’ AND crawler_useragent=’$useragent’”);
$this->crawler_ip = sqlite_escape_string($ip);
$this->crawler_useragent = sqlite_escape_string($useragent);
$this->crawler_info = $this->dbhandle->query(“SELECT crawler_ip FROM crawlers WHERE crawler_ip=’$this->ip’ AND crawler_useragent=’$this->useragent’”);
}
function CheckForSearchEngines(){