Postponed (maintainer needs more info)
Project:
IP List
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2011 at 12:21 UTC
Updated:
6 Jun 2011 at 21:17 UTC
=== 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
Comment #1
ezra-g commentedCan you post an example of how to exploit this?