Elgg pg/search SQL Injection Vulnerability


Description   A vulnerability has been reported in Elgg, which can be exploited by malicious people to conduct SQL injection attacks.
Input passed e.g. via the "limit" parameter to pg/search is not properly sanitised in mod/search/search_hooks.php before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerability is reported in the versions 1.7.0 through 1.7.13.
     
Vulnerable Products   Vulnerable Software:
Elgg 1.x
     
Solution   Update to version 1.7.14.
     
CVE  
     
References   Elgg:
http://blog.elgg.org/pg/blog/brett/read/199/elgg-1714-released
https://github.com/Elgg/Elgg/commit/368d7942a9bc21f5123828a7ba6f3ed2e6fd4efd
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
SQL injection Prevention - GET : suspicious OR statement in URL
3.2.0
SQL injection Prevention - GET : suspicious combination of 'OR' or 'AND' statements in URL
3.2.0
SQL injection Prevention - GET : suspicious CREATE statement in URL
3.2.0
SQL injection Prevention - GET : suspicious CAST statement in URL
3.2.0
SQL injection Prevention - GET : suspicious OPENROWSET statement in URL
3.2.0
SQL injection Prevention - GET : suspicious DECLARE statement in URL
3.2.0
SQL injection Prevention - GET : suspicious OPENQUERY statement in URL
3.2.0
SQL injection Prevention - GET : suspicious shutdown statement in URL
3.2.0
SQL injection Prevention - GET : suspicious UNION SELECT statement in URL
3.2.0
SQL injection Prevention - GET : possible database version probing
3.2.0
SQL injection Prevention - GET : suspicious UPDATE SET statement in URL
3.2.0
SQL injection Prevention - GET : suspicious SELECT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious INSERT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious DROP statement in URL
3.2.0
SQL injection Prevention - GET : suspicious EXEC statement in URL
3.2.0
SQL injection Prevention - GET : block comment delimiters in URL
3.2.0
SQL injection Prevention - GET : suspicious SQL statement in header
4.0.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2011-10-21 

 Target Type 
Server 

 Possible exploit 
Remote