1
I found a problem on this this module, it is vulnerable to SQL injection!
Please open file class/searches.php and replace around line 131:
$format = "INSERT INTO %s (mysearchid, keyword, datesearch, uid, ip) VALUES (%u, %s, %s, %u, %s)";
$sql = sprintf($format ,
$this->db->prefix('mysearch_searches'),
$this->db->genId($this->db->prefix("mysearch_searches")."_mysearchid_seq"),
$this->db->quoteString($keyword),$this->db->quoteString($datesearch),
$uid,
$this->db->quoteString($ip));
$force = true;
} else {
$format = "UPDATE %s SET keyword=%d, datesearch=%s, uid=%u, ip=%s WHERE mysearchid = %u";
$sql = sprintf($format,
$this->db->prefix('mysearch_searches'),
$this->db->quoteString($keyword),
$this->db->quoteString($datesearch),
$uid,
$this->db->quoteString($ip),
$mysearchid);
}
Sorry for the inconvenience, I'll submit this fix ASAP.