=== modified file 'drupal/sites/all/modules/ip_list/ip_list.module'
--- drupal/sites/all/modules/ip_list/ip_list.module 2010-10-08 07:46:25 +0000
+++ drupal/sites/all/modules/ip_list/ip_list.module 2011-04-08 12:18:31 +0000
@@ -154,7 +154,7 @@
$args = array($search);
// Prepare the counter query.
$counter .= $where;
- $counter = sprintf($counter, $search);
+ $counter = sprintf($counter, db_escape_string($search));
// Prepare the default form values.
$values['organization'] = $search;
}

Comments

ezra-g’s picture

Status: Active » Postponed (maintainer needs more info)

Can you post an example of how to exploit this?