LimeSurvey Multiple Vulnerabilities


Description   Markus Pieton has discovered a weakness and multiple vulnerabilities in LimeSurvey, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to conduct spoofing attacks.
1) Input passed via the "sid" parameter to admin/admin.php (when "action" is set to "activate") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
2) Input passed via the "fixnumbering" parameter to admin/admin.php (when "action" is set to "activate" and "sid" is set) is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
3) Input passed via the "lang" parameter to admin/admin.php (when "action" is set to "previewquestion" and "sid" and "qid" are set) is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation of vulnerabilities #1, #2, and #3 requires "Create survey" permissions.
4) Input passed via the "redirect" parameter to index.php (when "move" is set to "clearall" and "lang" and "sid" are set) is not properly verified before being used to redirect users. This can be exploited to redirect a user to an arbitrary website e.g. when a user clicks a specially crafted link to the affected script hosted on a trusted domain.
The weakness and the vulnerabilities are confirmed in version 1.92+ Build 120822. Other versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
LimeSurvey 1.x
     
Solution   No official solution is currently available.
     
CVE  
     
References   http://bugs.limesurvey.org/view.php?id=6543
http://bugs.limesurvey.org/view.php?id=6544
http://bugs.limesurvey.org/view.php?id=6545
http://bugs.limesurvey.org/view.php?id=6546
http://bugs.limesurvey.org/view.php?id=6547
http://bugs.limesurvey.org/view.php?id=6548
     
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
SQL injection Prevention - GET : Authentication bypass attempt with OR statement
5.0.0
     


 
 
 
 
 Risk level 
Low 

 Vulnerability First Public Report Date 
2012-09-07 

 Target Type 
Server 

 Possible exploit 
Remote