WordPress Link Library Plugin "id" Cross-Site Scripting and SQL Injection Vulnerabilities


Description   mermenomachus has discovered two vulnerabilities in the Link Library plugin for WordPress, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.
1) Input passed via the "id" parameter to wp-content/plugins/link-library/tracker.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
2) Input passed via the "id" parameter to wp-content/plugins/link-library/tracker.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerabilities are confirmed in version 5.0.8. Prior versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
WordPress Link Library Plugin 5.x
     
Solution   Update to version 5.0.9 or later.
     
CVE  
     
References   Link Library:
http://wordpress.org/extend/plugins/link-library/changelog/
http://plugins.trac.wordpress.org/changeset?reponame=&
new=423571%40link-library&
old=417642%40link-library
     
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-08-12 

 Target Type 
Server 

 Possible exploit 
Remote