CVE-2015-7684 in GLPIinfo

Summary

by MITRE

Unrestricted file upload in GLPI before 0.85.3 allows remote authenticated users to execute arbitrary code by adding a file with an executable extension as an attachment to a new ticket, then accessing it via a direct request to the file in files/_tmp/.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 09/13/2025

The vulnerability identified as CVE-2015-7684 represents a critical security flaw in the GLPI (Gestionnaire Libre de Parc Informatique) IT asset management system prior to version 0.85.3. This issue stems from inadequate input validation and file handling mechanisms within the application's attachment processing functionality. The vulnerability exists in the way GLPI manages file uploads, specifically allowing authenticated users to bypass normal file type restrictions and upload executable files with extensions such as .php, .asp, or .jsp. The flaw is particularly dangerous because it enables attackers to execute arbitrary code on the target system, potentially leading to complete system compromise.

The technical implementation of this vulnerability occurs through the application's file upload mechanism where it fails to properly validate file extensions and content types. When an authenticated user creates a ticket and attaches a malicious file with an executable extension, the system stores this file in the files/_tmp/ directory without proper sanitization. The vulnerability is further exacerbated by the fact that the application does not perform thorough content inspection or MIME type validation before accepting uploads. This allows attackers to circumvent security controls that would normally prevent the upload of potentially harmful file types, creating a persistent threat vector that remains active until the malicious file is accessed directly via the web server.

The operational impact of CVE-2015-7684 is severe and multifaceted, encompassing both immediate and long-term security implications. An attacker who successfully exploits this vulnerability can achieve remote code execution on the GLPI server, potentially gaining full administrative control over the system. This could result in data exfiltration, system compromise, and unauthorized access to sensitive organizational information. The attack vector is particularly concerning because it requires only authenticated access, meaning that users with legitimate access to the GLPI system can leverage this vulnerability to escalate their privileges. The direct access path through the files/_tmp/ directory means that the malicious file can be executed immediately upon upload, without requiring additional exploitation steps. This vulnerability aligns with CWE-434, which describes insecure file upload vulnerabilities, and represents a classic example of how insufficient input validation can lead to arbitrary code execution.

The exploitation of this vulnerability follows a predictable attack pattern that demonstrates the importance of proper access controls and input validation. Attackers would first authenticate to the GLPI system using valid credentials, then navigate to the ticket creation interface and upload a malicious file with an executable extension. The system would accept the file without proper validation, storing it in the temporary directory where it becomes accessible via direct web requests. This scenario represents a significant deviation from secure coding practices and highlights the need for comprehensive security testing. Organizations implementing GLPI or similar systems should consider this vulnerability in relation to ATT&CK framework techniques such as T1190 for exploit public-facing application and T1059 for command and script interpreter. The vulnerability also underscores the critical importance of implementing proper file validation mechanisms, including content-based checking, extension filtering, and secure file storage practices that prevent direct execution of uploaded files. Immediate remediation requires updating to GLPI version 0.85.3 or later, which includes proper file validation and sanitization controls that prevent the upload of executable files through the standard user interface.

The broader implications of CVE-2015-7684 extend beyond the immediate technical flaw to encompass organizational security practices and risk management strategies. This vulnerability demonstrates how seemingly minor implementation oversights can create significant security risks, particularly in systems that handle sensitive organizational data. The fact that the vulnerability affects a widely-used IT asset management platform means that numerous organizations could be impacted, potentially creating cascading security issues across multiple systems. Security teams should implement regular vulnerability assessments and penetration testing to identify similar issues in other applications, particularly those that handle file uploads or user-provided content. The vulnerability also emphasizes the need for continuous security monitoring and incident response procedures, as the detection of unauthorized file uploads may require specialized log analysis and file integrity monitoring. Organizations should also consider implementing network-based intrusion detection systems that can identify suspicious file upload patterns and direct access attempts to temporary directories. The remediation process should include not only updating the application but also reviewing and strengthening overall security configurations, including proper file permissions, directory access controls, and regular security audits to prevent similar vulnerabilities from emerging in the future.

Reservation

10/02/2015

Disclosure

10/05/2015

Moderation

accepted

Entry

VDB-78252

CPE

ready

EPSS

0.01653

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!