vendor:
LimeSurvey
by:
TorTukiTu - OpenSphere
N/A
CVSS
N/A
SQL Injection
89
CWE
Product Name: LimeSurvey
Affected Version From: 1.91+ build 11804
Affected Version To: 1.91+ build 11804
Patch Exists: N/A
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: php
2012
LimeSurvey Blind SQL injection
The vulnerability occurs when a user answers a survey (index.php). The session variables can be freely hacked using the following lines in save.php l.82: if (isset($_POST[$pf])) {$_SESSION[$pf] = $_POST[$pf];} if (!isset($_POST[$pf])) {$_SESSION[$pf] = '';} $pf is user input in the POST variable. Once splitted, SQL request is directly build from those sessions variable by function createinsertquery(), if a special Post variable 'srid' is set both in the variable 'fieldnames' and as simple POST variable (query l. 715 save.php). The user can realize blind SQL injections with specially crafted POST variables.
Mitigation:
Input validation and sanitization should be done to prevent SQL injection attacks.