PT-2018-18157 · Teclib+1 · Glpi+1

Published

2018-03-12

·

Updated

2019-01-26

·

CVE-2018-7562

CVSS v3.1

7.5

High

VectorAV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions GLPI versions prior to 9.2.2
Description A remote code execution issue was discovered, allowing temporary access to an uploaded executable file due to a race condition. The application permits authenticated users to upload files when creating new tickets via the "front/fileupload.php" endpoint. Although this feature is protected by security checks, such as verifying the file's extension, the application still uploads and creates a disallowed file before deleting it in the uploadFiles method in inc/glpiuploaderhandler.class.php.
Recommendations For GLPI versions prior to 9.2.2, update to version 9.2.2 or later to resolve the issue. As a temporary workaround, consider restricting access to the "front/fileupload.php" endpoint to minimize the risk of exploitation. Additionally, restrict the use of the uploadFiles method in inc/glpiuploaderhandler.class.php until a patch is available.

Fix

RCE

Race Condition

Unrestricted File Upload

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2019-1122
CVE-2018-7562

Affected Products

Alt Linux
Glpi