| Reporter | Title | Published | Views | Family All 25 |
|---|---|---|---|---|
| Security fix for the ALT Linux 9 package glpi version 0.83.9.1-alt1 | 21 Jul 201300:00 | – | altlinux | |
| Security fix for the ALT Linux 10 package glpi version 0.83.9.1-alt1 | 21 Jul 201300:00 | – | altlinux | |
| CVE-2013-2225 | 27 May 201415:00 | – | cve | |
| CVE-2013-2225 | 27 May 201415:00 | – | cvelist | |
| [SECURITY] Fedora 19 Update: glpi-0.83.9.1-1.fc19 | 4 Jul 201300:56 | – | fedora | |
| [SECURITY] Fedora 18 Update: glpi-0.83.9.1-1.fc18 | 5 Jul 201302:08 | – | fedora | |
| [SECURITY] Fedora 17 Update: glpi-0.83.9.1-1.fc17 | 5 Jul 201302:09 | – | fedora | |
| Fedora 19 : glpi-0.83.9.1-1.fc19 (2013-11315) | 12 Jul 201300:00 | – | nessus | |
| Fedora 18 : glpi-0.83.9.1-1.fc18 (2013-11396) | 12 Jul 201300:00 | – | nessus | |
| Fedora 17 : glpi-0.83.9.1-1.fc17 (2013-11413) | 12 Jul 201300:00 | – | nessus |
`=======================================
Advisory title: unserialize vulnerability in GLPI 0.83.9
Product: GLPI 0.83.9
Discovered by: Xavier Mehrenberger <at> Cassidian CyberSecurity
Vulnerable version: 0.83.9
Tested: v0.83.9, 2013-06-21
Fixed in repository: 2013-06-23 commits 21169 to 21180
Category: Potential PHP code execution
Vulnerability type: [CWE-502] Deserialization of Untrusted Data
CVE IDs: none yet
By: Xavier Mehrenberger
Cassidian CyberSecurity
http://www.cassidiancybersecurity.com
=======================================
----- CVE-2013-XXXX Required configuration: No specific configuration required
Steps to reproduce:
* Issue a request to
glpi/front/ticket.form.php?id=1&_predefined_fields=XXXX,
* replacing XXX with a serialized PHP object
Vulnerable code sample:
--- file ticket.class.php, function showFormHelpdesk
if (isset($options['_predefined_fields'])) {
$options['_predefined_fields']
=
unserialize(rawurldecode(stripslashes($options['_predefined_fields'])));
---
When passing a non-existent empty serialized class (ex: class called "exploit" value "O%3A7%3A%22exploit%22%3A0%3A%7B%7D"), an error occurs, which is caught by the userErrorHandlerNormal function in toolbox.class.php.
When a PHP object gets unserialized, its __wakeup() function is executed. When this object gets destroyed, its __destruct() function is executed (since PHP5). No such object exists throughout the GLPI codebase. However, it might exist in a third-party library, as demonstrated by Stefan Esser [2].
More information about this vulnerability class can be found at [1].
The unsafe use of unserialize() has been fixed throughout the codebase in commits 21169 [3] to 21180.
References:
[1] https://www.owasp.org/index.php/PHP_Object_Injection
[2] http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf
`
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